[
http://www.stripesframework.org/jira/browse/STS-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-743.
--------------------------
> plus sign in clean URL parameters not decoded since 1.5.1
> ---------------------------------------------------------
>
> Key: STS-743
> URL: http://www.stripesframework.org/jira/browse/STS-743
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5.1, Release 1.5.2, Release 1.5.3
> Reporter: Ward van Wanrooij
> Assignee: Ben Gunter
> Fix For: Release 1.5.4
>
>
> Version 1.5.1 includes a change in the way parameters for a clean URL are
> parsed. Due to this change, the character + is no longer decoded to space as
> it should be (UrlBuilder generates these URLs).
> Example for an actionbean bound to /action/hello/{name}:
> version: URI => value of parameter name
> v 1.5: /action/hello/John+Smith => John Smith
> v 1.5: /action/hello/John%20Smith => John Smith
> v 1.5.1+: /action/hello/John+Smith => John+Smith
> v 1.5.1+: /action/hello/John%20Smith => John Smith
> The incompatibility was introduced in UrlBindingFactory, by changing from
> trimContextPath to HttpUtil.getRequestedPath:
> public UrlBinding getBindingPrototype(HttpServletRequest request) {
> // return getBindingPrototype(trimContextPath(request));
> return getBindingPrototype(HttpUtil.getRequestedPath(request));
> }
> public UrlBinding getBinding(HttpServletRequest request) {
> // return getBinding(trimContextPath(request));
> return getBinding(HttpUtil.getRequestedPath(request));
> }
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development