[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#637225: URL encoding of some RFC3986 unreserved characters (e.g., tilde) can be a problem for some webservers



Package: apt
Severity: normal
Version: 0.8.10.3+squeeze1
Tags: patch

Unreserved characters (see http://tools.ietf.org/html/rfc3986#section-2.3) never
need to be percent-encoded.   This even can cause problems for some webservers,
e.g. GoogleApp's Engine when it serves static files:

$ HEAD -d 'http://localhost:8080/debian/pool/main/m/monit/monit_5.2.5-2%7ebpo60+2_amd64.deb'
404 Not Found
$ HEAD -d 'http://localhost:8080/debian/pool/main/m/monit/monit_5.2.5-2~bpo60+2_amd64.deb'
200 OK

Attached simple patch fix this problem for the "tilde" character.

Attachment: patch-tilde.diff
Description: Binary data


Reply to: