wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18502: LJSV-1243. Minor fix

Committer: gprochaev
LJSV-1243. Minor fix

U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2011-03-10 10:39:13 UTC (rev 18501)
+++ trunk/cgi-bin/cleanhtml.pl	2011-03-10 10:47:54 UTC (rev 18502)
@@ -503,10 +503,10 @@
                     (
                         $src =~ m!^https?://(?:[\w.-]*\.)?youtube\.com/embed/[-_a-zA-Z0-9]{11,}(?:\?.*)?$!
                         || $src =~ m!^http://player\.vimeo\.com/video/(?:\d+)!
-                        || $src =~ m!^http://vkontakte\.ru/video_ext\.php\?oid=(?:\d+)&id=(?:\d+)&hash=[a-zA-Z0-9]+$!
+                        || $src =~ m!^http://vkontakte\.ru/video_ext\.php\?oid=(?:\d+)&id=(?:\d+)&hash=[a-zA-Z0-9]+!
                         || $src =~ m!^http://www\.google\.com/calendar/embed\?src=!
                         || $src =~ m!^https://docs\.google.com/document/pub\?id=!
-                        || $src =~ m!^http://vk.com/video_ext\.php\?oid=(?:\d+)&id=(?:\d+)&hash=[a-zA-Z0-9]+$!
+                        || $src =~ m!^http://vk.com/video_ext\.php\?oid=(?:\d+)&id=(?:\d+)&hash=[a-zA-Z0-9]+!
                     )
                 ) {
                     ## allow

Tags: livejournal, pl, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments