You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <ve...@apache.org> on 2006/11/30 09:42:21 UTC
[jira] Created: (VELTOOLS-73) Added $esc.http(string) to allow the
encoding of http parameter values
Added $esc.http(string) to allow the encoding of http parameter values
----------------------------------------------------------------------
Key: VELTOOLS-73
URL: http://issues.apache.org/jira/browse/VELTOOLS-73
Project: VelocityTools
Issue Type: New Feature
Components: GenericTools
Affects Versions: 1.3
Environment: all
Reporter: Claude Brisson
Priority: Minor
Attachments: escape-http.patch
Delegates encoding to java.net.URLEncoder(String,"UTF-8").
$http("Hello here & there") produces "Hello+here+%26+there"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Resolved: (VELTOOLS-73) Added $esc.http(string) to allow the
encoding of http parameter values
Posted by "Claude Brisson (JIRA)" <de...@velocity.apache.org>.
[ http://issues.apache.org/jira/browse/VELTOOLS-73?page=all ]
Claude Brisson resolved VELTOOLS-73.
------------------------------------
Fix Version/s: 1.3
Resolution: Fixed
Assignee: Claude Brisson
commited
> Added $esc.http(string) to allow the encoding of http parameter values
> ----------------------------------------------------------------------
>
> Key: VELTOOLS-73
> URL: http://issues.apache.org/jira/browse/VELTOOLS-73
> Project: Velocity Tools
> Issue Type: New Feature
> Components: GenericTools
> Affects Versions: 1.3
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Claude Brisson
> Priority: Minor
> Fix For: 1.3
>
> Attachments: escape-http.patch
>
>
> Delegates encoding to java.net.URLEncoder(String,"UTF-8").
> $http("Hello here & there") produces "Hello+here+%26+there"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Commented: (VELTOOLS-73) Added $esc.http(string) to allow
the encoding of http parameter values
Posted by "Marc Novakowski (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELTOOLS-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465244 ]
Marc Novakowski commented on VELTOOLS-73:
-----------------------------------------
Just a quick comment about the method name - "$esc.http(string)" seems overly generic to me and potentially ambiguous, since the HTTP protocol uses many types of encodings (URL encoding for the URL, HTML encoding for HTML content, etc. etc.)
Perhaps a more accurate name for this method could be $esc.url(string) instead? Or $esc.urlEncode(string)?
> Added $esc.http(string) to allow the encoding of http parameter values
> ----------------------------------------------------------------------
>
> Key: VELTOOLS-73
> URL: https://issues.apache.org/jira/browse/VELTOOLS-73
> Project: Velocity Tools
> Issue Type: New Feature
> Components: GenericTools
> Affects Versions: 1.3
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Claude Brisson
> Priority: Minor
> Fix For: 1.3
>
> Attachments: escape-http.patch
>
>
> Delegates encoding to java.net.URLEncoder(String,"UTF-8").
> $http("Hello here & there") produces "Hello+here+%26+there"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Updated: (VELTOOLS-73) Added $esc.http(string) to allow the
encoding of http parameter values
Posted by "Claude Brisson (JIRA)" <ve...@apache.org>.
[ http://issues.apache.org/jira/browse/VELTOOLS-73?page=all ]
Claude Brisson updated VELTOOLS-73:
-----------------------------------
Attachment: escape-http.patch
> Added $esc.http(string) to allow the encoding of http parameter values
> ----------------------------------------------------------------------
>
> Key: VELTOOLS-73
> URL: http://issues.apache.org/jira/browse/VELTOOLS-73
> Project: VelocityTools
> Issue Type: New Feature
> Components: GenericTools
> Affects Versions: 1.3
> Environment: all
> Reporter: Claude Brisson
> Priority: Minor
> Attachments: escape-http.patch
>
>
> Delegates encoding to java.net.URLEncoder(String,"UTF-8").
> $http("Hello here & there") produces "Hello+here+%26+there"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Commented: (VELTOOLS-73) Added $esc.http(string) to allow
the encoding of http parameter values
Posted by "Nathan Bubna (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELTOOLS-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465246 ]
Nathan Bubna commented on VELTOOLS-73:
--------------------------------------
Good point. It should probably be $esc.url(String). since escape is roughly a synonym of encode, $esc.urlEncode(String) is a little redundant.
> Added $esc.http(string) to allow the encoding of http parameter values
> ----------------------------------------------------------------------
>
> Key: VELTOOLS-73
> URL: https://issues.apache.org/jira/browse/VELTOOLS-73
> Project: Velocity Tools
> Issue Type: New Feature
> Components: GenericTools
> Affects Versions: 1.3
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Claude Brisson
> Priority: Minor
> Fix For: 1.3
>
> Attachments: escape-http.patch
>
>
> Delegates encoding to java.net.URLEncoder(String,"UTF-8").
> $http("Hello here & there") produces "Hello+here+%26+there"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org