ams-tschoening opened a new pull request #415: Avoid URL.getFile during mime 
type detection.
URL: https://github.com/apache/wicket/pull/415
 
 
   Mime type detection is documented to work on paths or URLs, but URL.getFile 
provides neither of both and the default implementation is very limited 
regarding / vs. \ and such things. Forwarding an absolute URI always instead is 
compatible with the default implementation and makes absolutely clear what is 
available. URL.getFile for example might look like some path in the file 
system, but would work with paths containing spaces because of no decoding.
   
   https://issues.apache.org/jira/browse/WICKET-6757
   Related to PR #413.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to