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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/13 11:47:12 UTC
[jira] [Created] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
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.2.6
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
[jira] [Updated] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
Posted by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
Posted by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade updated TAP5-1691:
---------------------------------
Labels: patch (was: )
> 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
> Labels: patch
> Attachments: 0001-url-encode-the-version-number-in-asset-paths.patch
>
>
> 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
[jira] [Updated] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
Posted by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
Posted by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade updated TAP5-1691:
---------------------------------
Attachment: 0001-url-encode-the-version-number-in-asset-paths.patch
> 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
> Labels: patch
> Attachments: 0001-url-encode-the-version-number-in-asset-paths.patch
>
>
> 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
[jira] [Updated] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
Posted by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade updated TAP5-1691:
---------------------------------
Labels: patch (was: )
> 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
> Labels: patch
> Attachments: 0001-url-encode-the-version-number-in-asset-paths.patch
>
>
> 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
[jira] [Updated] (TAP5-1691) AssetPathConstructorImpl should
URL-encode the application version
Posted by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade updated TAP5-1691:
---------------------------------
Attachment: 0001-url-encode-the-version-number-in-asset-paths.patch
> 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
> Labels: patch
> Attachments: 0001-url-encode-the-version-number-in-asset-paths.patch
>
>
> 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