← Back to team overview

mahara-contributors team mailing list archive

[Bug 1482437] [NEW] Leap2a export: Filter out ASCII control characters that are not valid in XML

 

Public bug reported:

This is the flip-side to Bug 1482410. The patch for that bug will filter
out illegal ASCII control characters from XML files, which stops
SimpleXML from choking. But Mahara is still generating invalid XML, by
making XML files that contain those characters.

We should add some code that also filters out invalid XML characters on
the export side.

** Affects: mahara
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: export leap2a xml

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1482437

Title:
  Leap2a export: Filter out ASCII control characters that are not valid
  in XML

Status in Mahara:
  In Progress

Bug description:
  This is the flip-side to Bug 1482410. The patch for that bug will
  filter out illegal ASCII control characters from XML files, which
  stops SimpleXML from choking. But Mahara is still generating invalid
  XML, by making XML files that contain those characters.

  We should add some code that also filters out invalid XML characters
  on the export side.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1482437/+subscriptions


Follow ups