Help for this page

Select Code to Download


  1. or download this
    $testString = "/usr/home/december/public_html/experiments/html/files/b
    +lëh.txt";
    $fileAsked = $ENV{'PATH_TRANSLATED'};
    ...
    
    print "VALID3\n" if ($testString =~ /^([\w\s\/.]+)$/);
    print "VALID4\n" if ($fileAsked =~ /^([\w\s\/.]+)$/);
    
  2. or download this
    Trying with: /usr/home/december/public_html/experiments/html/files/blë
    +h.txt
    Trying with: /usr/home/december/public_html/experiments/html/files/blë
    +h.txt
    SUCCEEDED1
    SUCCEEDED2
    VALID3