Last modified: 2011-04-15 15:28:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30547, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28547 - Special characters in page titles generate invalid RSS
Special characters in page titles generate invalid RSS
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-15 07:55 UTC by Matt Voysey
Modified: 2011-04-15 15:28 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matt Voysey 2011-04-15 07:55:37 UTC
When included in RSS query printer output, valid page titles containing ampersand "&" characters generate invalid XML. Some feed readers are OK with this; others (including firefox live bookmarks) refuse to play.

I resolved it with a small change in SMW_QP_RSSlink.php, in the text() function:

$text .= "\t\t<title>$this->label</title>\n";

changed to 

text .= "\t\t<title>" . $this->clean($this->label) . "</title>\n";
Comment 1 Markus Krötzsch 2011-04-15 15:28:02 UTC
Thanks, fixed in SVN (which is currently not stable for production use). The fix will be released with SMW 1.6.0

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links