Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments returned from the API are not properly escaped #17257

Open
dmach opened this issue Jan 7, 2025 · 0 comments
Open

Comments returned from the API are not properly escaped #17257

dmach opened this issue Jan 7, 2025 · 0 comments
Labels
API Things regarding our API Bug

Comments

@dmach
Copy link
Contributor

dmach commented Jan 7, 2025

$ osc api https://api.opensuse.org/comments/request/1179916 > comments
$ xmllint comments
comments:4: parser error : PCDATA invalid Char value 27
```[   15s] |  PostgreSQL:                                   DISABLED  
                                                             ^
comments:4: parser error : PCDATA invalid Char value 27
```[   15s] |  PostgreSQL:                                   DISABLED  
                                                                          ^
comments:4: parser error : PCDATA invalid Char value 15
```[   15s] |  PostgreSQL:                                   DISABLED  
                                                                             ^

There is an unescaped escape sequence in a comment.

@hellcp-work hellcp-work added Bug API Things regarding our API labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Things regarding our API Bug
Projects
None yet
Development

No branches or pull requests

2 participants