Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Separate input validation and dispatch, add comment about opml action
author
Jakub Narebski
<jnareb@gmail.com>
Sat, 5 Aug 2006 10:55:20 +0000
(12:55 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 6 Aug 2006 08:52:51 +0000
(
01:52
-0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
f9f02d0
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index b268b6344d8023572bf632d91237afd54d07b61d..7f4387fde6e55540ba9001b88c0587813ae04d48 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-71,6
+71,7
@@
mkdir($git_temp, 0700) || die_error("Couldn't mkdir $git_temp");
}
+# ======================================================================
# input validation and dispatch
our $action = $cgi->param('a');
if (defined $action) {
@@
-78,6
+79,7
@@
undef $action;
die_error(undef, "Invalid action parameter.");
}
+ # action which does not check rest of parameters
if ($action eq "opml") {
git_opml();
exit;