rust-syndication / rss

Library for serializing the RSS web content syndication format
https://crates.io/crates/rss
Apache License 2.0
429 stars 52 forks source link

[Bug] Unexpected escaping of special characters #170

Open Nutomic opened 1 week ago

Nutomic commented 1 week ago

We are performing our own escaping of strings before passing them into the library, because the docs mention that no escaping is performed. However it turns out that there is some (limited?) sanitization performed, which results in double escaping. Specifically I noticed the following in 2.0.9:

`

To fix this bug, please remove all escaping so that behaviour matches the documentation. Alternatively change the documenation, and guarantee to perform correct escaping on all fields (not sure if this is currently the case).

andy128k commented 11 hours ago

Please see #167