Bugs item #1211340, was opened at 2005-05-30 13:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1211340&group_id=119783
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: contrib
Group: 1.0.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: ResourceStreamLocator fails for filenames with multiple dots
Initial Comment:
ResourceStreamLocator.java:123 reads:
return locator.locate(path.replace('.', '/'), style,
locale, extensionString);
The problem is that if your filename contains multiple
dots, all but the last dot get converted into slashes
and the resulting URL is always broken.
We should be replacing only the dots in the package
name with slashes, and not touching the filename itself.
You can do this by splitting the "path" variable into
two pieces: the path leading up to the filename (which
you need to process) and the filename itself (which you
should not process).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1211340&group_id=119783
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop