
brian at wired
Mar 13, 1995, 6:40 PM
Post #2 of 2
(85 views)
Permalink
|
On Mon, 13 Mar 1995, Rob Hartill wrote: > Something else we need to fix.. > > If you ask for > > http://x.y.z/bleah > > when you really meant http://x.y.z/bleah/ > > The client is redirected to http://x.y.z:80/bleah/ No problem: taz [1540] diff util.c~ util.c 968c968,972 < sprintf(d,"http://%s:%d%s",server_hostname,port,s); --- > if (port == 80) { > sprintf(d,"http://%s%s",server_hostname,s); > } else { > sprintf(d,"http://%s:%d%s",server_hostname,port,s); > } Man, I think I'm getting the hang of this C thing. :) Brian --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- brian [at] hotwired brian [at] hyperreal http://www.hotwired.com/Staff/brian/
|