diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-10-10 20:42:26 +0200 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-12 13:53:14 -0700 |
commit | 1b2d297e41dbd12c56646796c3d3bcf190f0d5d4 (patch) | |
tree | deb5aad91e3e816c47e5a92740c3c82f414ecf8c /Documentation/.gitattributes | |
parent | Merge branch 'maint' (diff) | |
download | tgif-1b2d297e41dbd12c56646796c3d3bcf190f0d5d4.tar.xz |
gitweb: refactor input parameters parse/validation
Since input parameters can be obtained both from CGI parameters and
PATH_INFO, we would like most of the code to be agnostic about the way
parameters were retrieved. We thus collect all the parameters into the
new %input_params hash, delaying validation after the collection is
completed.
Although the kludge removal is minimal at the moment, it makes life much
easier for future expansions such as more extensive PATH_INFO use or
other form of input such as command-line support.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Documentation/.gitattributes')
0 files changed, 0 insertions, 0 deletions