You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/04/10 16:30:00 UTC
[jira] [Commented] (CXF-8677) The parameter decoding of CXF 3.5.0 is incorrect.
[ https://issues.apache.org/jira/browse/CXF-8677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520200#comment-17520200 ]
Andriy Redko commented on CXF-8677:
-----------------------------------
[~wcl0508] please use `@Encoded` annotation to disables automatic decoding of parameters, see please [1] for details.
[1] https://docs.oracle.com/javaee/7/api/javax/ws/rs/Encoded.html
> The parameter decoding of CXF 3.5.0 is incorrect.
> -------------------------------------------------
>
> Key: CXF-8677
> URL: https://issues.apache.org/jira/browse/CXF-8677
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.5.0
> Reporter: Wang Chunlei
> Priority: Major
>
> When you enter the parameter "+" in the browser, the browser automatically encodes the parameter into "%2B". When you use multipart/form-data, the cxf 3.5.0 version decodes the parameter twice and converts it into a space.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)