[jira] [Resolved] (CXF-9015) Typo in JsonMapObjectReaderWriter treats \h as a special character instead of \n

2024-05-26 Thread Andriy Redko (Jira)


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

Andriy Redko resolved CXF-9015.
---
Resolution: Fixed

> Typo in JsonMapObjectReaderWriter treats \h as a special character instead of 
> \n
> 
>
> Key: CXF-9015
> URL: https://issues.apache.org/jira/browse/CXF-9015
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.5.8, 3.6.3, 4.0.4
>Reporter: Craig Perkins
>Priority: Minor
> Fix For: 3.5.9, 4.1.0, 4.0.5, 3.6.4
>
>
> The JsonMapObjectReaderWriter class maintains a list of 
> [ESCAPED_CHARS|https://github.com/apache/cxf/blob/main/rt/rs/extensions/json-basic/src/main/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter.java#L45-L56]
>  which includes special characters that need to be escaped like the newline 
> (`\n`) and tab (`\t`) characters. This list also includes `\h`, but I can't 
> find any links to official documentation about this character needing to be 
> escaped. 
> According to this [SO post|https://stackoverflow.com/a/27516892] which 
> details escaped characters in JSON, it does not include `\h` in this list. 
> Issue in OpenSearch where this issue is discussed: 
> [https://github.com/opensearch-project/security/issues/2531#issuecomment-2111309193]
>  
> PR to address the issue with more details: 
> [https://github.com/apache/cxf/pull/1872]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (CXF-9020) Websockets for the CXF Server Side

2024-05-26 Thread Andriy Redko (Jira)


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

Andriy Redko resolved CXF-9020.
---
Resolution: Fixed

> Websockets for the CXF Server Side
> --
>
> Key: CXF-9020
> URL: https://issues.apache.org/jira/browse/CXF-9020
> Project: CXF
>  Issue Type: Wish
>Reporter: Mehmet Can Cömert
>Assignee: Andriy Redko
>Priority: Trivial
>
> I have seen on the documentation page, it is said Web Sockets are only 
> available on the 3.x Snapshot.
> [https://cxf.apache.org/docs/websocket.html]
> However with the Ticket:
> https://issues.apache.org/jira/browse/CXF-5604
> I can see that it is already merged.
> Is banner on documentation page outdated or Websockets not fully supported by 
> CXF?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (CXF-9020) Websockets for the CXF Server Side

2024-05-26 Thread Andriy Redko (Jira)


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

Andriy Redko commented on CXF-9020:
---

The documentation [1]has been updated.

[1] https://cwiki.apache.org/confluence/display/CXF20DOC/WebSocket

> Websockets for the CXF Server Side
> --
>
> Key: CXF-9020
> URL: https://issues.apache.org/jira/browse/CXF-9020
> Project: CXF
>  Issue Type: Wish
>Reporter: Mehmet Can Cömert
>Assignee: Andriy Redko
>Priority: Trivial
>
> I have seen on the documentation page, it is said Web Sockets are only 
> available on the 3.x Snapshot.
> [https://cxf.apache.org/docs/websocket.html]
> However with the Ticket:
> https://issues.apache.org/jira/browse/CXF-5604
> I can see that it is already merged.
> Is banner on documentation page outdated or Websockets not fully supported by 
> CXF?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)