summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-02-26 23:06:00 +0000
committerPascal Terjan <pterjan@mageia.org>2011-02-26 23:06:00 +0000
commit5b0a73dcdf58b5bb45ed19aa89940eabad9f755c (patch)
tree083bd066beecc3cebddcb395d5b9498684284d4b /index.php
parent13e6119556430054e04f51cf12d3ed48cfc7847d (diff)
downloadpkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar
pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar.gz
pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar.bz2
pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar.xz
pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.zip
Fix rejected links
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index c4f0fff..5f47534 100644
--- a/index.php
+++ b/index.php
@@ -123,7 +123,7 @@ $missing_deps = file("missing-deps.i586.txt");
chdir($upload_dir);
$all_files = shell_exec("find \( -name '*.rpm' -o -name '*.src.rpm.info' -o -name '*.youri' -o -name '*.lock' -o -name '*.done' \) -ctime -$max_modified -printf \"%p\t%T@\\n\"");
-$re = "!^\./(\w+)/((\w+)/(\w+)/(\w+)/(\d+)\.(\w+)\.(\w+)\.(\d+))_?(.+)(\.src\.rpm(?:\.info)?|\.youri|\.lock|\.done)\s+(\d+\.\d+)$!m";
+$re = "!^\./(\w+)/((\w+)/(\w+)/(\w+)/(\d+)\.(\w+)\.(\w+)\.(\d+))_?(.*)(\.src\.rpm(?:\.info)?|\.youri|\.lock|\.done)\s+(\d+\.\d+)$!m";
$r = preg_match_all($re,
$all_files,
$matches,