← Back to team overview

mahara-contributors team mailing list archive

[Bug 971282] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1137
Committed: http://gitorious.org/mahara/mahara/commit/4b8c5170f44c162fbd56cc1b6519ba613ac38f5c
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch:    master

commit 4b8c5170f44c162fbd56cc1b6519ba613ac38f5c
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date:   Fri Mar 23 15:31:52 2012 +1300

    Move the list of safe iframe sources to the database (bug #971282)
    
    Builds the htmlpurifier safe iframe regexp from a list of sites stored
    in the database, instead of a hardcoded array.
    
    Each site in the safe iframe list is associated with a name.  This
    will allow several regexp items to be grouped together under the same
    name when they're matching urls from the same site.
    
    Additionally, the domain part of each site is stored in a second list
    along with the names, so that it will be easy to fetch the favicon for
    display in places such as the external media block configuration form.
    
    Change-Id: I7fd2bfefbff0881e70b94beb9e8d3efb43f0f9e7
    Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/971282

Title:
  Configurable SafeIframe site list

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The hardcoded list of sites from which iframes are allowed should be
  made configurable by the site admin.

  See
  https://wiki.mahara.org/index.php/Developer_Area/Specifications_in_Development/External_media_block_extension

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


References