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

Terence Kent updated CXF-5577:
------------------------------

    Description: 
(This issue was originally posted as a question to [email protected] here: 
http://cxf.547215.n5.nabble.com/JAX-RS-issue-in-2-6-13-w-JSESSIONID-as-a-path-parameter-td5740381.html)

Including a JSESSIONID path parameter will break REST paths which end with a 
forward slash. For example, the path:

<proto>://<host:port>/api/people/;jsessionid=xxx

Will result in a WebApplicationException being thrown. If the path does not end 
with a forward slash, everything works as expected.

  was:
(This issue was originally posted as a question to [email protected] here: 
http://cxf.547215.n5.nabble.com/JAX-RS-issue-in-2-6-13-w-JSESSIONID-as-a-path-parameter-td5740381.html)

Including a JSESSIONID path parameter will break REST paths which end with a 
forward slash. For example, the path:

<proto>://<host:port>/api/people/;JESSIONID=xxx

Will result in a WebApplicationException being thrown. If the path does not end 
with a forward slash, everything works as expected.


> WebApplicationException thrown when path parameters used with a path that 
> ends with "/"
> ---------------------------------------------------------------------------------------
>
>                 Key: CXF-5577
>                 URL: https://issues.apache.org/jira/browse/CXF-5577
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.6.13, 2.7.10
>            Reporter: Terence Kent
>              Labels: jax-rs, jsessionid
>         Attachments: bug-cxf-routing-jsessionid.zip
>
>
> (This issue was originally posted as a question to [email protected] here: 
> http://cxf.547215.n5.nabble.com/JAX-RS-issue-in-2-6-13-w-JSESSIONID-as-a-path-parameter-td5740381.html)
> Including a JSESSIONID path parameter will break REST paths which end with a 
> forward slash. For example, the path:
> <proto>://<host:port>/api/people/;jsessionid=xxx
> Will result in a WebApplicationException being thrown. If the path does not 
> end with a forward slash, everything works as expected.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to