Re: Validate class URL bug
| From: | Stefan Neufeind | Date: | Fri, 07 Nov 2003 12:54:07 +0000 |
| Subject: | Re: Validate class URL bug | ||
| References: | 1 | Groups: | php.pear.dev php.pear.general |
| Request: | Send a blank email to pear-dev+get-23335@lists.php.net to get a copy of this message | ||
Yes, you're right. https was not recognized as being valid. Updated
the function to also allow https and ftp-urls. Hope that's fine with
everyone.
Stefan
On 7 Nov 2003 at 11:56, Mike Carter wrote:
> Hi,
>
> I'm running the PEAR Validate::url() method over a url,
> https://dev.pma.com/News/article.php?news_id=24
>
> Its being reported as invalid (returns false). I have the optional
> $domain_check enforced as false too.
>
> Just wanted ot check before submitting it as a bug...
>
> Thanks,
>
> --
> Mike Carter
> [Senior Web Developer]
>
>
> ______________________________________________________________________
> __ This email has been scanned for all viruses by the MessageLabs
> Email Security System. For more information on a proactive email
> security service working around the clock, around the globe, visit
> http://www.messagelabs.com
> ______________________________________________________________________
> __
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>