git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/5] gitweb: A few code cleanup patches

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 25, 2006, 23:53 UTC
Message-ID
<200609260153.08503.jnareb@gmail.com>
This series of patches, based on 8391548e5e78677eb81f97334d998418802ea194
adds some code cleanups (including validating input and escaping output).
Most deals with changes introduced in
  [PATCH] gitweb: Consolidate escaping/validation of query string
  commit a2f3db2f5de2a3667b0e038aa65e3e097e642e7d (by Petr Baudis)
  Message-ID: <20060923221841.18063.56589.stgit@rover>
Shortlog:
 [PATCH 1/5] gitweb: Strip trailing slashes from $path in git_get_hash_by_path
 [PATCH 2/5] gitweb: Use "return" instead of "return undef" for some subs
 [PATCH 3/5] gitweb: Split validate_input into validate_pathname and validate_refname
 [PATCH 4/5] gitweb: Add git_url subroutine, and use it to quote full URLs
 [PATCH 5/5] gitweb: Quote filename in HTTP Content-Disposition: header
Diffstat:
 gitweb/gitweb.perl |  100 +++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 72 insertions(+), 28 deletions(-)
-- 
Jakub Narebski
ShadeHawk on #git
Warsaw, Poland
Next: Jakub Narebski
Message 1 of 10 in “gitweb: A few code cleanup patches”
  1. 0/5 gitweb: A few code cleanup patchesJakub Narebski, Sep 25, 2006
  2. 1/5 gitweb: Strip trailing slashes from $path in git_get_hash_by_pathJakub Narebski, Sep 25, 2006
  3. 2/5 gitweb: Use "return" instead of "return undef" for some subsJakub Narebski, Sep 25, 2006
  4. 3/5 gitweb: Split validate_input into validate_pathname and validate_refnameJakub Narebski, Sep 25, 2006
  5. Junio C HamanoSep 26, 2006
  6. Jakub NarebskiSep 26, 2006
  7. 4/5 gitweb: Add git_url subroutine, and use it to quote full URLsJakub Narebski, Sep 25, 2006
  8. 5/5 gitweb: Quote filename in HTTP Content-Disposition: headerJakub Narebski, Sep 25, 2006
  9. Junio C HamanoSep 26, 2006
  10. Jakub NarebskiSep 26, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.