velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna (JIRA)" <...@velocity.apache.org>
Subject [jira] Commented: (VELTOOLS-73) Added $esc.http(string) to allow the encoding of http parameter values
Date Tue, 16 Jan 2007 18:28:27 GMT

    [ 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


Mime
View raw message