Bug #2159
problem when inserting a google map in the forum
Description
Chamilo 1.8.7.1 on Debian Lenny
Hi guys,
we just noticed a problem when inserting a google map in the forum of a course. No matter if you do it with the "google map" button or by inserting the link provided by google maps in "html view" mode, the map does not appear. If you use the google map button it request you insert a google maps api...but that does not have much sense.
Anyone knows how to solve this?
Thanks in advance!
Regards
Associated revisions
Adding enable_iframe_inclusion setting + htmlpurifier filter see #2159
Added documentation to iframe filter for HTMLPurifier - refs #2159
History
Updated by Julio Montoya over 8 years ago
- Status changed from New to Needs more info
- Priority changed from Normal to Low
A new filter should be added to HTMLpurifier in order to allow iframes but this means adding security risks
Updated by Yannick Warnier over 8 years ago
- Status changed from Needs more info to Assigned
- Assignee set to Julio Montoya
Then we should add a security parameter:
$GlobalSettingAllowIFramesTitle = "Allow iframes in HTML Editor";
$GlobalSettingAllowIFramesComment = "Allowing arbitrary iframes in the HTML Editor will enhance the edition capabilities of the users, but it can represent a security risk. Please make sure you can rely on your users (i.e. you know who they are) before enabling this feature.";
Variable name: wysiwyg_enable_iframe_inclusion (should be configurable by sub-url)
Updated by Julio Montoya over 8 years ago
- Status changed from Assigned to Needs more info
- Assignee deleted (
Julio Montoya) - % Done changed from 0 to 80
code added it only supports vimeo, youtube and google maps
Updated by Yannick Warnier over 8 years ago
- Status changed from Needs more info to Bug resolved
- Assignee set to Julio Montoya
- % Done changed from 80 to 100
OK at code level.
Adding Db change for the iframe inclusion see #2159