|
@@ -82,11 +82,11 @@ discard block |
|
|
block discarded – undo |
|
82
|
82
|
// } |
|
83
|
83
|
|
|
84
|
84
|
if (!empty($this->uri_parts["user_info"])) { |
|
85
|
|
- $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority; |
|
|
85
|
+ $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority; |
|
86
|
86
|
} |
|
87
|
87
|
|
|
88
|
88
|
$normalized_port = $this->normalizePort(); |
|
89
|
|
- $normalized_authority = $normalized_authority . $normalized_port; |
|
|
89
|
+ $normalized_authority = $normalized_authority.$normalized_port; |
|
90
|
90
|
|
|
91
|
91
|
// if (!is_null($this->uri_parts["port"]) && $this->uri_parts["port"] != $standard_port) { |
|
92
|
92
|
// $normalized_authority = $normalized_authority . ":" . $this->uri_parts["port"]; |
|
@@ -417,7 +417,7 @@ discard block |
|
|
block discarded – undo |
|
417
|
417
|
$fragment_part = '(?:#(?P<fragment>.+))?'; |
|
418
|
418
|
$reg_end = '/'; |
|
419
|
419
|
|
|
420
|
|
- $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part . |
|
|
420
|
+ $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part. |
|
421
|
421
|
$reg_end; |
|
422
|
422
|
|
|
423
|
423
|
$uri_valid = preg_match($uri_syntax, $uri, $parts); |
|
@@ -447,7 +447,7 @@ discard block |
|
|
block discarded – undo |
|
447
|
447
|
$path_part = '(?P<path>.+)'; |
|
448
|
448
|
$reg_end = '/'; |
|
449
|
449
|
|
|
450
|
|
- $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end; |
|
|
450
|
+ $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end; |
|
451
|
451
|
|
|
452
|
452
|
preg_match($hier_part_syntax, $hier_part, $hier_parts); |
|
453
|
453
|
|
|
@@ -475,7 +475,7 @@ discard block |
|
|
block discarded – undo |
|
475
|
475
|
$port_part = '(?::(?P<port>[0-9]+))?'; |
|
476
|
476
|
$reg_end = '/'; |
|
477
|
477
|
|
|
478
|
|
- $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end; |
|
|
478
|
+ $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end; |
|
479
|
479
|
|
|
480
|
480
|
preg_match($authority_syntax, $authority, $authority_parts); |
|
481
|
481
|
|