Re: Re: validate URL

From: Date: Thu, 04 Dec 2003 17:40:07 +0000
Subject: Re: Re: validate URL
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24151@lists.php.net to get a copy of this message
On Thu Dec 04, 2003 at 06:3439PM +0100, Roman Neuhauser wrote: > # mj@php.net / 2003-12-04 18:32:08 +0100: > > IMO the method shouldn't be too strict about the protocol. Accepting > > everything that only contains characters and nothing else sounds like a > > good idea to me. > > not to me: svn+ssh is one of schemes used by Subversion Good catch! RFC 2396 defines allowed schemes like that: scheme = alpha *( alpha | digit | "+" | "-" | "." ) Maybe it's a good idea to use that one in Validate as well. -- - Martin Martin Jansen http://martinjansen.com/

« previous php.pear.dev (#24151) next »