Skip to content

Commit

Permalink
Added some documentation on what makes a valid URI.
Browse files Browse the repository at this point in the history
From the docs, it says,
“A URI is composed from a limited set of characters consisting of
   digits, letters, and a few graphic symbols”

refs #8368
  • Loading branch information
AntonNguyen committed Oct 7, 2017
1 parent d09c6bd commit 52d94fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Validation/Validation.php
Expand Up @@ -904,6 +904,7 @@ public static function range($check, $lower = null, $upper = null)
* @param string $check Value to check
* @param bool $strict Require URL to be prefixed by a valid scheme (one of http(s)/ftp(s)/file/news/gopher)
* @return bool Success
* @link https://tools.ietf.org/html/rfc3986
*/
public static function url($check, $strict = false)
{
Expand Down

0 comments on commit 52d94fe

Please sign in to comment.