cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6765) UrlUtils#urlDecode incorrectly decodes encoded path with encoded plus = %2B symbol
Date Tue, 02 Feb 2016 11:18:39 GMT

    [ https://issues.apache.org/jira/browse/CXF-6765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128085#comment-15128085
] 

Sergey Beryozkin commented on CXF-6765:
---------------------------------------

Which client do you use ? if it is CXF then I think you can pass "space.plus.space" to it

> UrlUtils#urlDecode incorrectly decodes encoded path with encoded plus = %2B symbol
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-6765
>                 URL: https://issues.apache.org/jira/browse/CXF-6765
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.1.4
>         Environment: WIndows 7, Java 8
>            Reporter: Karsten Ohme
>
> I'm decoding some matrix parameters. When using a path with an encoded + (= %2B encoded),
e.g. filterValue=Foobar+%2B+Bar which should be "Foobar + Bar", but it is "Foobar  Bar", because
the %2B is decoded as plus first and later decoded as a space.
> The error is produced in org.apache.cxf.common.util.UrlUtils#urlDecode(java.lang.String,
java.lang.String, boolean).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message