mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fix url breakage
This commit is contained in:
parent
adf54e6e79
commit
f8dd3e38a6
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ fn make_url(str_url: ~str, current_url: Option<url>) -> url {
|
||||||
let path = path.init();
|
let path = path.init();
|
||||||
let path = str::connect(path + ~[copy str_url], "/");
|
let path = str::connect(path + ~[copy str_url], "/");
|
||||||
|
|
||||||
current_url.scheme + "://" + current_url.host + "/" + path
|
current_url.scheme + "://" + current_url.host + path
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue