You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kalle Korhonen (JIRA)" <ji...@apache.org> on 2012/05/22 22:45:40 UTC

[jira] [Updated] (TAP5-1935) ContextResource uses a deprecated File.toURL

     [ https://issues.apache.org/jira/browse/TAP5-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kalle Korhonen updated TAP5-1935:
---------------------------------

    Description: This causes issues whenever a file has a hash character ('#') in the name since everything after that it is interpreted as an anchor and excluded from the path used in URL.openStream(). Use file.toURI().toURL() instead.  (was: This causes issues whenever a file has a hash character ('#') in the name since everything after that it is interpreted as an anchor and included in the path used in URL.openStream(). Use file.toURI().toURL() instead.)
    
> ContextResource uses a deprecated File.toURL
> --------------------------------------------
>
>                 Key: TAP5-1935
>                 URL: https://issues.apache.org/jira/browse/TAP5-1935
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.3
>            Reporter: Kalle Korhonen
>            Assignee: Kalle Korhonen
>             Fix For: 5.3.4, 5.4
>
>
> This causes issues whenever a file has a hash character ('#') in the name since everything after that it is interpreted as an anchor and excluded from the path used in URL.openStream(). Use file.toURI().toURL() instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira