Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
atom.module.patch | 1.11 KB | mohanjith |
Comments
Comment #1
mohanjith CreditAttribution: mohanjith commentedComment #2
mohanjith CreditAttribution: mohanjith commentedComment #3
deekayen CreditAttribution: deekayen commented