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] [Resolved] (CXF-6985) parameter state may contain spaces, it must be urlencoded in response.
Date Tue, 02 Aug 2016 13:38:20 GMT

     [ 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)

Mime
View raw message