1 parent 92aecd2 commit 8914843Copy full SHA for 8914843
1 file changed
src/lib.rs
@@ -952,7 +952,7 @@ impl Adapter<HttpConnector, Body> {
952
953
let mut app_url = self.domain.clone();
954
app_url.set_path(path);
955
- app_url.set_query(parts.uri.query());
+ app_url.set_query(parts.uri.query().filter(|q| !q.is_empty()));
956
957
tracing::debug!(app_url = %app_url, req_headers = ?req_headers, "sending request to app server");
958
0 commit comments