projects
/
gitweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0605397
)
allow - & _ in branch names
author
pk910
<philipp@zoelle1.de>
Fri, 31 Aug 2012 18:01:58 +0000
(20:01 +0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 31 Aug 2012 18:01:58 +0000
(20:01 +0200)
git_graph.php
patch
|
blob
|
blame
|
history
diff --git
a/git_graph.php
b/git_graph.php
index 1beae8c0e339f0a217c293edb35345e5720200f5..fa8d1bd31eac2092b9e04bdcd8d88a082210fbdf 100644
(file)
--- a/
git_graph.php
+++ b/
git_graph.php
@@
-59,7
+59,7
@@
if(!$project)
die("ERROR 0x02");
//check other args
-if(!preg_match('#^[a-z0-9/.]*$#i', $_GET['h']))
+if(!preg_match('#^[a-z0-9/.
-_
]*$#i', $_GET['h']))
die("ERROR 0x03");
if(!preg_match('#^[a-z0-9]*$#i', $_GET['c']))
die("ERROR 0x04");