9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Buglet in ip/httpd/redirect.c
@ 2003-01-12 18:39 Dan Cross
  0 siblings, 0 replies; only message in thread
From: Dan Cross @ 2003-01-12 18:39 UTC (permalink / raw)
  To: 9fans

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-12 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-12 18:39 [9fans] Buglet in ip/httpd/redirect.c Dan Cross

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).