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

Sergey Beryozkin resolved CXF-6985.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.1.8
                   3.2.0

I tried to avoid decoding the request parameters in the 1st place but it can 
introduce the side-effects with the way redirect and audience URIs are 
validated and is quite sensitive, so for now it is indeed simpler to follow 
your suggestion. I'll need to have a closer look at it later on too, thanks  

> parameter state may contain spaces, it must be urlencoded in response.
> ----------------------------------------------------------------------
>
>                 Key: CXF-6985
>                 URL: https://issues.apache.org/jira/browse/CXF-6985
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS Security
>    Affects Versions: 3.1.6
>            Reporter: Svein Otto Solem
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 3.2.0, 3.1.8
>
>
> In org.apache.cxf.rs.security.oauth2.services.AbstractImplicitGrantService 
> the state parameter is not queryEncoded. Since it could contain spaces (as of 
> RFC 6749 https://tools.ietf.org/html/rfc6749#page-72) it should be 
> queryEncoded in method finalizeResponse.



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

Reply via email to