[ jetty-Bugs-1267458 ] Unencoded URLs in HTML dir listing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ jetty-Bugs-1267458 ] Unencoded URLs in HTML dir listing

SourceForge.net
Bugs item #1267458, was opened at 2005-08-23 21:14
Message generated for change (Settings changed) made by gregwilkins
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1267458&group_id=7322

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Other
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Tom Lipkis (tlipkis)
Assigned to: Greg Wilkins (gregwilkins)
Summary: Unencoded URLs in HTML dir listing

Initial Comment:
Resource.getListHTML() encodes (with URI.encodePath())
only the last (filename) component of the links it
generates, not the base, with the following result.

With the directory structure /a/#b/c , the directory
listing of /a includes a propertly encoded link to
/a/#b: <A HREF="/a/%23b/">.  But in the listing of
/a/#b produced by following that link, the link to
/a/#b/c is unencoded: <A HREF="/a/#b/c">, so is
effectively a link to /a/.


----------------------------------------------------------------------

Comment By: Greg Wilkins (gregwilkins)
Date: 2005-08-24 08:18

Message:
Logged In: YES
user_id=44062

Fixed.   This was only a problem in ResourceHandler and not
in the Default server.   Also improved the heading to
display the decoded name.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1267458&group_id=7322


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss