9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] Buglet in ip/httpd/redirect.c
Date: Sun, 12 Jan 2003 13:39:32 -0500	[thread overview]
Message-ID: <200301121839.h0CIdWw03396@augusta.math.psu.edu> (raw)

When building the virtual host table in /sys/src/cmd/ip/httpd/httpd.c,
there's a bug chopping off ports and/or trailing slashes.  The fix is
to change the call to strstr() in redirectinit() to call strpbrk()
instead.  I was wondering why my virtual host redirections weren't
working....

	- Dan C.



                 reply	other threads:[~2003-01-12 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301121839.h0CIdWw03396@augusta.math.psu.edu \
    --to=cross@math.psu.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).