allow iframe from my own domain

droidman

Member
hi, i searched here on the forum and saw people saying i had to modify htmlpurifier.php
so i did:


Code:
'URI.SafeIframeRegexp' => '%^(http:|https:)?//(www.youtube(?:-nocookie)?.com/embed/|player.vimeo.com/video/|mydomain.com)%',

i added mydomain.com to the allowed iframe regexp
is this wrong ? thanks
 
i want to add an iframe on some pages for example on the unsubscribe page when people go out of a list.
i need to be able to add an iframe, it can be from my own local domain.
if i try to add an iframe it deletes the url after saving
 
Back
Top