Skip to content

Commit

Permalink
Merge branch 'MDL-65479' of git://github.com/stronk7/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed May 9, 2019
2 parents 6a5caed + b450745 commit 5ecdf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/url/locallib.php
Expand Up @@ -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 . ')';
Expand Down

0 comments on commit 5ecdf55

Please sign in to comment.