Feeds created do not encode some strings
mohanjith - March 3, 2008 - 14:04
| Project: | Atom |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | patch (code needs review) |
Jump to:
Description
It is necessary that strings are xml escaped, however title and subtitle are not escaped in feeds created by the atom module. If the site title contains "&", then the atom/feed will guaranteed to be invalid. This issue is a blocker for sites such as http://wso2.org (The patch is now applied).
The attached patch uses php built in function htmlentities function to encode the title and the subtitle.
| Attachment | Size |
|---|---|
| atom.module.patch | 1.11 KB |

#1
#2