scratch
/file.php |
---|
@@ -159,7 +159,9 @@ |
break; |
break; |
case "URL": |
if(preg_match("/URL=([^\n]*)\n/", file_get_contents($userPath), $matches)) { |
if(preg_match( |
"/URL=(https?:\/\/[\-_\.\+!\*'\(\),a-zA-Z0-9]+:?[0-9]{0,5}\/.*?)\n/", |
file_get_contents($userPath), $matches)) { |
header('Location: '.$matches[1]); |
return; |
} |