HomeFreeBSD

- Send a patch file-name in the HTTP header via the

Description

  • Send a patch file-name in the HTTP header via the Content-Disposition header.
  • When downloading/referring to a particular patch embed the patch number with the PR instead of using two different CGI variables. This means that there aren't "&" in the patch URL's anymore which makes things simpler for sh(1) like shells, by not requiring quoting of URLs when using a command line tool, such as fetch(1), to download patches.
  • In HTML-ifying of URL's, handle when a URL contains a PR like string which can e.g. be seen in PR www/113071.
  • Add a comment about how to test script via the command line.

Submitted by: edwin, shaun
PR: www/113071

Details

Provenance
simonAuthored on Jun 12 2007, 7:38 PM
Parents
R9:2d3d75837b06: A slash is valid character in OS names, eg. OSF1 V4.0/alpha
Branches
Unknown
Tags
Unknown