From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200301121839.h0CIdWw03396@augusta.math.psu.edu> To: 9fans@cse.psu.edu From: Dan Cross Subject: [9fans] Buglet in ip/httpd/redirect.c Date: Sun, 12 Jan 2003 13:39:32 -0500 Topicbox-Message-UUID: 3fc7f886-eacb-11e9-9e20-41e7f4b1d025 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.