|
@@ -110,13 +110,13 @@ discard block |
|
|
block discarded – undo |
|
110
|
110
|
$normalized_authority = $this->uri_parts["host"]; |
|
111
|
111
|
|
|
112
|
112
|
if (!empty($this->uri_parts["user_info"])) { |
|
113
|
|
- $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority; |
|
|
113
|
+ $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority; |
|
114
|
114
|
} |
|
115
|
115
|
|
|
116
|
116
|
$normalized_port = $this->normalizePort(); |
|
117
|
117
|
|
|
118
|
118
|
if (!is_null($normalized_port)) { |
|
119
|
|
- $normalized_authority = $normalized_authority . ":" . $normalized_port; |
|
|
119
|
+ $normalized_authority = $normalized_authority.":".$normalized_port; |
|
120
|
120
|
} |
|
121
|
121
|
|
|
122
|
122
|
return $normalized_authority; |
|
@@ -457,7 +457,7 @@ discard block |
|
|
block discarded – undo |
|
457
|
457
|
$fragment_part = '(?:#(?P<fragment>.*))?'; |
|
458
|
458
|
$reg_end = '/'; |
|
459
|
459
|
|
|
460
|
|
- $uri_syntax = $reg_start . $scheme_part . $hier_part . $query_part . $fragment_part . |
|
|
460
|
+ $uri_syntax = $reg_start.$scheme_part.$hier_part.$query_part.$fragment_part. |
|
461
|
461
|
$reg_end; |
|
462
|
462
|
|
|
463
|
463
|
$uri_valid = preg_match($uri_syntax, $uri, $parts); |
|
@@ -486,7 +486,7 @@ discard block |
|
|
block discarded – undo |
|
486
|
486
|
$path_part = '(?P<path>.+)?'; |
|
487
|
487
|
$reg_end = '/'; |
|
488
|
488
|
|
|
489
|
|
- $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end; |
|
|
489
|
+ $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end; |
|
490
|
490
|
|
|
491
|
491
|
preg_match($hier_part_syntax, $hier_part, $hier_parts); |
|
492
|
492
|
|
|
@@ -517,7 +517,7 @@ discard block |
|
|
block discarded – undo |
|
517
|
517
|
$port_part = '(?::(?P<port>[0-9]+))?'; |
|
518
|
518
|
$reg_end = '/'; |
|
519
|
519
|
|
|
520
|
|
- $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end; |
|
|
520
|
+ $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end; |
|
521
|
521
|
|
|
522
|
522
|
preg_match($authority_syntax, $authority, $authority_parts); |
|
523
|
523
|
|