Displaying 1 result from an estimated 1 matches for "send_dir_listing".
2006 Aug 07
1
DirHandler in surplus slashing / unrequited unescaping
...83:39560 -> 24.91.155.55:80 [AP]
GET /files/usr/portage/packages/All//gtk -2.10.1.tbz2 HTTP/1.1..Host: m..Accept-Encoding: identity..Range: bytes=-3000..
..
which does look a little messed. theres a space between gtk and -. the package is actually gtk+-.
presumably this line in DirHandler#send_dir_listing is causing it:
child = HttpRequest.unescape(child)
maybe it should only unescape this for the displayed version? eg within the <a></a>? i havent read over everything to look at the overall escaping strategy, but its what i will do for now, so that it stops mangling the fi...