|
From: | Doursenaud , Raphaël |
Subject: | Re: [Dolibarr-dev] Question about isValidUrl function |
Date: | Fri, 18 Jul 2014 09:59:17 +0200 |
Hi all:I've been looking at isValidUrl function (located in core/lib/functions2.lib.php) and it has multiple parameters that are not used all over Dolibarr code.Also, there's already a function in the core of PHP that does the same. Can we replace all the preg checks (that have high CPU cost) with the filter_var function or is there any reason why those checks are there?Regards,
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
[Prev in Thread] | Current Thread | [Next in Thread] |