File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -194,13 +194,13 @@ function ($matches) {
194194 */
195195 private function unparseUrl ($ parsed_url ) {
196196 $ 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- $ user = isset ($ parsed_url ['user ' ]) ? $ parsed_url ['user ' ] : '' ;
200- $ pass = isset ($ parsed_url ['pass ' ]) ? ': ' . $ parsed_url ['pass ' ] : '' ;
201- $ pass = ($ user || $ pass ) ? $ pass . '@ ' : '' ;
202- $ path = isset ($ parsed_url ['path ' ]) ? $ parsed_url ['path ' ] : '' ;
203- $ query = isset ($ parsed_url ['query ' ]) ? '? ' . $ parsed_url ['query ' ] : '' ;
197+ $ host = isset ($ parsed_url ['host ' ]) ? $ parsed_url ['host ' ] : '' ;
198+ $ port = isset ($ parsed_url ['port ' ]) ? ': ' . $ parsed_url ['port ' ] : '' ;
199+ $ user = isset ($ parsed_url ['user ' ]) ? $ parsed_url ['user ' ] : '' ;
200+ $ pass = isset ($ parsed_url ['pass ' ]) ? ': ' . $ parsed_url ['pass ' ] : '' ;
201+ $ pass = ($ user || $ pass ) ? $ pass . '@ ' : '' ;
202+ $ path = isset ($ parsed_url ['path ' ]) ? $ parsed_url ['path ' ] : '' ;
203+ $ query = isset ($ parsed_url ['query ' ]) ? '? ' . $ parsed_url ['query ' ] : '' ;
204204 $ fragment = isset ($ parsed_url ['fragment ' ]) ? '# ' . $ parsed_url ['fragment ' ] : '' ;
205205 $ unparsed_url = $ scheme . $ user . $ pass . $ host . $ port . $ path . $ query . $ fragment ;
206206 return $ unparsed_url ;
You can’t perform that action at this time.
0 commit comments