@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $uri_query = $this->query; |
| 122 | 122 | |
| 123 | 123 | if (!empty($uri_query)) { |
| 124 | - $uri_query = "?" . $uri_query; |
|
| 124 | + $uri_query = "?".$uri_query; |
|
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | return $uri_query; |
@@ -133,12 +133,12 @@ discard block |
||
| 133 | 133 | */ |
| 134 | 134 | private function compileValidPattern() |
| 135 | 135 | { |
| 136 | - self::$valid_pattern = '/^([\/\?' . |
|
| 137 | - $this->unreserved_pattern . |
|
| 138 | - $this->sub_delims_pattern . |
|
| 139 | - $this->pchar_pattern . |
|
| 140 | - ']|' . |
|
| 141 | - $this->pct_encoded_pattern . |
|
| 136 | + self::$valid_pattern = '/^([\/\?'. |
|
| 137 | + $this->unreserved_pattern. |
|
| 138 | + $this->sub_delims_pattern. |
|
| 139 | + $this->pchar_pattern. |
|
| 140 | + ']|'. |
|
| 141 | + $this->pct_encoded_pattern. |
|
| 142 | 142 | ')*$/'; |
| 143 | 143 | } |
| 144 | 144 | |