diff options
author | Bernhard Posselt <BernhardPosselt@users.noreply.github.com> | 2016-01-26 15:49:36 +0100 |
---|---|---|
committer | Bernhard Posselt <BernhardPosselt@users.noreply.github.com> | 2016-01-26 15:49:36 +0100 |
commit | b3a7f20a6cf7b09103da7bf15ce89221937ab529 (patch) | |
tree | 2d1b6cf67ba2109eab2ae203418c5728734a6d92 | |
parent | 8eb9da710f7f87c9e41ae9621f1a6310039918ca (diff) | |
parent | e1d39b55a530f7e3ba576707debbb4877497d42e (diff) |
Merge pull request #916 from rakshazi/patch-1
Added vk.com video to HTMLPurifier SafeIframe
-rw-r--r-- | appinfo/application.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/appinfo/application.php b/appinfo/application.php index cfd9ef563..dfe036166 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -117,7 +117,8 @@ class Application extends App { $config->set('URI.SafeIframeRegexp', '%^https://(?:www\.)?(' . 'youtube(?:-nocookie)?.com/embed/|' . - 'player.vimeo.com/video/)%'); //allow YouTube and Vimeo + 'player.vimeo.com/video/|' . + 'vk.com/video_ext.php)%'); //allow YouTube and Vimeo $def = $config->getHTMLDefinition(true); $def->addAttribute('iframe', 'allowfullscreen', 'Bool'); return new HTMLPurifier($config); |