We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e73a56a commit 6541591Copy full SHA for 6541591
crates/openshell-sandbox/src/proxy.rs
@@ -1838,9 +1838,14 @@ async fn handle_forward_proxy(
1838
secret_resolver: secret_resolver.clone(),
1839
};
1840
1841
+ let (target_path, query_string) = match path.split_once('?') {
1842
+ Some((p, q)) => (p.to_string(), q.to_string()),
1843
+ None => (path.clone(), String::new()),
1844
+ };
1845
let request_info = crate::l7::L7RequestInfo {
1846
action: method.to_string(),
- target: path.clone(),
1847
+ target: target_path,
1848
+ query: query_string,
1849
1850
1851
let (allowed, reason) =
0 commit comments