|
@@ -77,13 +77,13 @@ discard block |
|
|
block discarded – undo |
|
77
|
77
|
$normalized_authority = $this->uri_parts["host"]; |
|
78
|
78
|
|
|
79
|
79
|
if (!empty($this->uri_parts["user_info"])) { |
|
80
|
|
- $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority; |
|
|
80
|
+ $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority; |
|
81
|
81
|
} |
|
82
|
82
|
|
|
83
|
|
- $normalized_port = $this->normalizePort(); |
|
|
83
|
+ $normalized_port = $this->normalizePort(); |
|
84
|
84
|
|
|
85
|
85
|
if (!is_null($normalized_port)) { |
|
86
|
|
- $normalized_authority = $normalized_authority . ":" . $normalized_port; |
|
|
86
|
+ $normalized_authority = $normalized_authority.":".$normalized_port; |
|
87
|
87
|
} |
|
88
|
88
|
|
|
89
|
89
|
return $normalized_authority; |
|
@@ -413,7 +413,7 @@ discard block |
|
|
block discarded – undo |
|
413
|
413
|
$fragment_part = '(?:#(?P<fragment>.+))?'; |
|
414
|
414
|
$reg_end = '/'; |
|
415
|
415
|
|
|
416
|
|
- $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part . |
|
|
416
|
+ $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part. |
|
417
|
417
|
$reg_end; |
|
418
|
418
|
|
|
419
|
419
|
$uri_valid = preg_match($uri_syntax, $uri, $parts); |
|
@@ -443,7 +443,7 @@ discard block |
|
|
block discarded – undo |
|
443
|
443
|
$path_part = '(?P<path>.+)'; |
|
444
|
444
|
$reg_end = '/'; |
|
445
|
445
|
|
|
446
|
|
- $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end; |
|
|
446
|
+ $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end; |
|
447
|
447
|
|
|
448
|
448
|
preg_match($hier_part_syntax, $hier_part, $hier_parts); |
|
449
|
449
|
|
|
@@ -471,7 +471,7 @@ discard block |
|
|
block discarded – undo |
|
471
|
471
|
$port_part = '(?::(?P<port>[0-9]+))?'; |
|
472
|
472
|
$reg_end = '/'; |
|
473
|
473
|
|
|
474
|
|
- $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end; |
|
|
474
|
+ $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end; |
|
475
|
475
|
|
|
476
|
476
|
preg_match($authority_syntax, $authority, $authority_parts); |
|
477
|
477
|
|