Merge branch 'MDL-65479' of git://github.com/stronk7/moodle
This commit is contained in:
@@ -279,7 +279,7 @@ function split_url( $url, $decode=FALSE)
|
||||
// Host name from RFC1035. Technically, must start with a letter.
|
||||
// Relax that restriction to better parse URL structure, then
|
||||
// leave host name validation to application.
|
||||
$xhost_name = '([a-zA-Z\d-.%]+)';
|
||||
$xhost_name = '([a-zA-Z\d\-.%]+)';
|
||||
|
||||
// Authority from RFC3986. Skip IP future.
|
||||
$xhost = '(' . $xhost_name . '|' . $xipv4 . '|' . $xipv6 . ')';
|
||||
|
||||
Reference in New Issue
Block a user