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 21:41:40 UTC

[jira] [Assigned] (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 reassigned TAP5-1935:
------------------------------------

    Assignee: Kalle Korhonen
    
> 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
>
> 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.

--
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