You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org> on 2011/12/16 12:08:30 UTC
[jira] [Updated] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
[ https://issues.apache.org/jira/browse/TAP5-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade updated TAP5-1691:
---------------------------------
Affects Version/s: 5.3.1
5.3
> AssetPathConstructorImpl should URL-encode the application version
> ------------------------------------------------------------------
>
> Key: TAP5-1691
> URL: https://issues.apache.org/jira/browse/TAP5-1691
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3.1, 5.3, 5.2
> Reporter: Jochen Kemnade
> Priority: Minor
>
> When I deploy snapshot versions of T5 webapps, I usually extend the maven/gradle version number by an ISO timestamp. Therefore, my version number always contains a '+', ("...+0[12]00"). The asset urls generated by AssetPathConstructorImpl don't encode that plus using URLEncoder but ContextPathEncoderImpl.decodePath tries to decode the version string via URLEncoder.decode() which fails:
> java.lang.IllegalArgumentException: Input string '3.10.0-SNAPSHOT20111010T153002+0200' is not valid; the character '+' at position 31 is not valid.
--
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