You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2017/03/28 16:17:41 UTC

[jira] [Resolved] (CXF-6849) Form parameter names including '%' are not decoded properly

     [ https://issues.apache.org/jira/browse/CXF-6849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-6849.
------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s: Invalid

Test case added and request for more information is unanswered

> Form parameter names including '%' are not decoded properly
> -----------------------------------------------------------
>
>                 Key: CXF-6849
>                 URL: https://issues.apache.org/jira/browse/CXF-6849
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.6
>            Reporter: Michael Schilling
>             Fix For: Invalid
>
>
> Making a POST call that has form parameter name of {{%25}} produces a {{BufferUnderflowException}}.
> Additionally, making a POST call with a form parameter name of {{%25}} directly followed by any character that can't represent a hexadecimal value will produce a {{RuntimeException}} stating {{"Invalid URL encoding: not a valid digit (radix 16): <byte value>"}}.
> The source of these exceptions are from {{UrlUtils#urlDecode}} and {{UrlUtils#digit16}}.
> Note: {{%25}} is the URL encoded version of {{%}}. The HTTP request send has a desired form parameter of {{%}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)