Ticket #12 (closed defect: fixed)
Special char encoding
| Reported by: | dartar | Owned by: | unassigned |
|---|---|---|---|
| Priority: | high | Milestone: | 1.1.6.2 |
| Component: | formatters | Version: | 1.1.6.0 |
| Severity: | major | Keywords: | |
| Cc: |
Description (last modified by dartar) (diff)
Special char encoding for page revisions (handler), RecentChanges, Wikiping and RSS-feeds. < and > (+ other [for xml] special chars) appearing in the note-field cause problems: wrong display on web pages, invalid XML in feeds and ping data.
This applies to all special characters, not just those used for tags: & as well. htmlspecialchars() should do it. --JW
- See tags in the edit notes on WikkaBugs
* See also the comments on MindMapRecentchanges where the same problem is reported
Status Tested and installed as BETA
Code changes in wikka.php (GetPingParams()), actions/recentchanges.php, handlers/page/recentchanges.xml.php, handlers/page/recentchanges.xml.mm.php, handlers/page/revisions.php and handlers/page/revisions.xml.php. (Unfortunately the WikiPing feed already has an incorrect item so the feed will stay invalid untill this item "scrolls off". Solved by now.) --JavaWoman
See also
Ref