|
@@ -102,7 +102,11 @@ fn get_response<R: Runtime>(
|
|
|
let decoded_path = percent_encoding::percent_decode(path.as_bytes())
|
|
|
.decode_utf8_lossy()
|
|
|
.to_string();
|
|
|
- let url = format!("{url}{decoded_path}");
|
|
|
+ let url = format!(
|
|
|
+ "{}/{}",
|
|
|
+ url.trim_end_matches('/'),
|
|
|
+ decoded_path.trim_start_matches('/')
|
|
|
+ );
|
|
|
|
|
|
let mut proxy_builder = reqwest::ClientBuilder::new()
|
|
|
.build()
|