mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 08:23:01 +02:00
Merge branch 'MDL-65479' of git://github.com/stronk7/moodle
This commit is contained in:
commit
5ecdf55a51
@ -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 . ')';
|
||||
|
Loading…
x
Reference in New Issue
Block a user