Ticket #12 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

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 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

Change History

Changed 5 years ago by dartar

  • description modified (diff)

Changed 5 years ago by dartar

  • milestone changed from 1.1.6.1 to 1.1.6.2

Changed 4 years ago by DotMG

  • status changed from new to closed
  • resolution set to fixed

This issue was also reported #99 and was fixed in [65].

Changed 3 years ago by JavaWoman

  • status changed from reopened to closed
  • resolution set to fixed

Seems to have been reopened by spam removal; closing again...

Note: See TracTickets for help on using tickets.