madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r19357: Not able to load file with dot in name.

Committer: sbelyaev
Not able to load file with dot in name.
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2011-06-24 06:18:05 UTC (rev 19356)
+++ trunk/cgi-bin/LJ/S2.pm	2011-06-24 07:04:47 UTC (rev 19357)
@@ -4821,7 +4821,7 @@
 
     return $resource =~ /^
                             (?:\w+\/)*   # path
-                            [\w+\-]+     # filename
+                            [\w+\-\.]+     # filename
                             \.
                             (?:js|css)   # extension
                         $/x;

Tags: livejournal, madeon, pm
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