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:closed
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.

AttachmentSize
atom.module.patch1.11 KB

#1

mohanjith - March 3, 2008 - 14:04
Status:active» needs review

#2

mohanjith - March 3, 2008 - 15:19
Assigned to:mohanjith» Anonymous

#3

deekayen - May 7, 2009 - 14:12
Status:needs review» fixed

#4

System Message - May 21, 2009 - 14:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.