httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: [Showstopper] 1.3.17-dev mod_userdir
Date Sat, 27 Jan 2001 16:19:26 GMT
Tony Finch wrote:
> 
> "William A. Rowe, Jr." <wrowe@rowe-clan.net> wrote:
> >+                if ((url_test = strchr(x, ':')) && !strncmp(url_test, "://",
3))
> 
> What about strstr?

You are after the first :, surely, which seperates the scheme from the
URL? strstr would match :// anywhere.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

Mime
View raw message