File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,11 +194,11 @@ function ($matches) {
194
194
*/
195
195
private function unparseUrl ($ parsed_url ) {
196
196
$ scheme = isset ($ parsed_url ['scheme ' ]) ? $ parsed_url ['scheme ' ] . ':// ' : '' ;
197
- $ host = isset ($ parsed_url ['host ' ]) ? $ parsed_url ['host ' ] : '' ;
198
- $ port = isset ($ parsed_url ['port ' ]) ? ': ' . $ parsed_url ['port ' ] : '' ;
199
197
$ user = isset ($ parsed_url ['user ' ]) ? $ parsed_url ['user ' ] : '' ;
200
198
$ pass = isset ($ parsed_url ['pass ' ]) ? ': ' . $ parsed_url ['pass ' ] : '' ;
201
199
$ pass = ($ user || $ pass ) ? $ pass . '@ ' : '' ;
200
+ $ host = isset ($ parsed_url ['host ' ]) ? $ parsed_url ['host ' ] : '' ;
201
+ $ port = isset ($ parsed_url ['port ' ]) ? ': ' . $ parsed_url ['port ' ] : '' ;
202
202
$ path = isset ($ parsed_url ['path ' ]) ? $ parsed_url ['path ' ] : '' ;
203
203
$ query = isset ($ parsed_url ['query ' ]) ? '? ' . $ parsed_url ['query ' ] : '' ;
204
204
$ fragment = isset ($ parsed_url ['fragment ' ]) ? '# ' . $ parsed_url ['fragment ' ] : '' ;
You can’t perform that action at this time.
0 commit comments