← Back to team overview

mahara-contributors team mailing list archive

[Bug 1695118] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7804
Committed: https://git.mahara.org/mahara/mahara/commit/ec8acd71c8debaa4285a3e31f791cb22db60d513
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit ec8acd71c8debaa4285a3e31f791cb22db60d513
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Jun 2 12:18:21 2017 +1200

Bug 1695118: Allowing base64 images to pass htmlpurifier

See https://stackoverflow.com/questions/26524222/how-can-i-configure-
html-purifier-to-allow-data-uris-for-image-src#26537423

behatnotneeded

Change-Id: I570f1d29bfdc396f3090a7c52e9cd8ba5f804503
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  Displaying image via data base64

Status in Mahara:
  Fix Committed

Bug description:
  The HTMLpurifier does not allow base64 image files to be displayed.

  The clean_html() function strips them out, which is annoying if you
  upload an .html file that contains the base64 images as the html will
  not display as expected in the HTML block

  This fix for that sounds easy enough to add so I will

  https://stackoverflow.com/questions/26524222/how-can-i-configure-html-
  purifier-to-allow-data-uris-for-image-src#26537423

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


References