harking (George M. Harkin)
- Login: harking
- Email: montana.harkin@gmail.com
- Registered on: 12/17/2010
- Last sign in: 12/29/2010
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
12/18/2010
-
01:12 AM Ruby Bug #4167: URI.encode encodes reserved character of #
- =begin
Just noticed "warn "#{caller(1)[0]}: warning: URI.escape is obsolete" if $VERBOSE".
What is the replacement at this time?
=end
-
12:43 AM Ruby Bug #4167: URI.encode encodes reserved character of #
- =begin
Workaround is to use
exp = URI.encode(x, Regexp.new("[^#{URI::PATTERN::UNRESERVED}#{URI::PATTERN::RESERVED}#]", false, 'N'))
where x is the URL with a # symbol for an anchor tag
=end
-
12:07 AM Ruby Bug #4167 (Closed): URI.encode encodes reserved character of #
- =begin
URI.encode's default behavior is to follow RFC 2732 [http://tools.ietf.org/html/rfc2732] which includes # in the list of characters to URI encode.
The updated RFC 3896 [http://tools.ietf.org/html/rfc3986#section-2.2] includ...