[ 
https://issues.apache.org/jira/browse/CXF-7304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951226#comment-15951226
 ] 

Sergey Beryozkin commented on CXF-7304:
---------------------------------------

I did a minor update that will let it work if you set a "/" + URLEncoded value 
as an address, with a test confirming it. The reason I did it is that it will 
be consistent with the fact that this relative address is just one of the path 
segments and given that JAX-RS encodes @Path values itself, it will be correct 
to ensure the 1st path segment is treated the same way.
The sensitive part here is that this 1st path segment is registered with the 
underlying HTTP container therefore I decided not to auto-encode it to avoid 
breaking some people's code by accident even though it appears to be a safe way 
to do - we just have no enough material yet how various containers would react 
to percent-encoded endpoint address values. Perhaps we can update CXF to 
auto-encode the endpoint address at a later stage. Please try CXF 
3.0.13-SNAPSHOT next week 

> WADL generator doesn't work properly in case cyrillic characters is used in 
> URL
> -------------------------------------------------------------------------------
>
>                 Key: CXF-7304
>                 URL: https://issues.apache.org/jira/browse/CXF-7304
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.0.11
>         Environment: Windows 10, Java 8
>            Reporter: Marat
>            Priority: Minor
>         Attachments: org.open.cxf.issue-0.0.1-SNAPSHOT.war, 
> org.open.cxf.issue.zip, screenshot-1.png, screenshot-2.png
>
>
> WADL generator doesn't work properly in case Cyrillic characters is used in 
> URL. WADL generator skips all methods description when URL contains Cyrillic 
> characters. If I replace Cyrillic characters in URL to Latin characters 
> generator will work fine.



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

Reply via email to