madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21792: LJSUP-11939: Expressive need_res

Committer: sbelyaev
LJSUP-11939: Expressive need_res
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2012-04-24 14:02:40 UTC (rev 21791)
+++ trunk/cgi-bin/LJ/S2.pm	2012-04-25 07:46:33 UTC (rev 21792)
@@ -5217,8 +5217,8 @@
     my $resource = shift;
 
     return $resource =~ /^
-                            (?:\w+\/)*   # path
-                            [\w+\-\.]+     # filename
+                            (?:[\w\d\-]+\/)*   # path
+                            [\w\d\-\.]+     # filename
                             \.
                             (?:js|css)   # extension
                         $/x;

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