Skip to content
Permalink
Browse files

Added some documentation on what makes a valid URI.

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...
Anton Nguyen
Anton Nguyen committed Oct 7, 2017
1 parent d09c6bd commit 52d94fe85e23d02d41cfc3cc6988c1735d2e7dd8
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Validation/Validation.php
@@ -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)
{

0 comments on commit 52d94fe

Please sign in to comment.
You can’t perform that action at this time.