On 09/25/2012 02:34 AM, Toshio Kuratomi wrote:
> http://www.ietf.org/rfc/rfc2396.txt
> 
> See Sections 2.1, 2.4.2
> 
> 
> """
> In some cases, data that could be represented by an unreserved
> character may appear escaped; for example, some of the unreserved
> "mark" characters are automatically escaped by some systems.  If the
> given URI scheme defines a canonicalization algorithm, then
> unreserved characters may be unescaped according to that algorithm.  For
> example, "%7e" is sometimes used instead of "~" in an http URL path, but the
> two are equivalent for an http URL.
> """
> 
> Your server is not handling this correctly.

wish it was mine :-) I could just grab what I need directly.

> 
> 
> -Toshio


I understand, but I am just point out, that many other clients (python's 
urllib2 included)
seem to interpret the standard in a consistent different way.
Interesting to read the comment about wget implementation

http://git.savannah.gnu.org/cgit/wget.git/tree/src/url.c

around lines 299-375, and the fact that a more aggressive escaping was causing 
some issues.

But as you pointed out, it is super easy to override urlgrabber's quoting if I 
ever find a situation
where the all or nothing quoting is not working.

Thank you for your support.


_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to