mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
Filter qhash query parameter.
This commit is contained in:
parent
dfe87e0292
commit
01697ebb86
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
|
|||
let collected = query
|
||||
.into_pairs()
|
||||
.into_iter()
|
||||
.filter(|(key, _)| key != "host" && key != "rewrite")
|
||||
.filter(|(key, _)| !matches!(key.as_str(), "host" | "rewrite" | "qhash"))
|
||||
.collect::<Vec<_>>();
|
||||
QString::new(collected)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue