comment that isValidURI must reject file:// URI
[lhc/web/wiklou.git] / includes / HttpFunctions.php
index 6968c61..949cfcb 100644 (file)
@@ -129,6 +129,8 @@ class Http {
         * protocols, because we only want protocols that both cURL
         * and php support.
         *
+        * file:// should not be allowed there for security purpose (r67684)
+        *
         * @fixme this is wildly inaccurate and fails to actually check most stuff
         *
         * @param $uri Mixed: URI to check for validity