mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
aquatic_http request url decode: reject some invalid data
This commit is contained in:
parent
919b846775
commit
15c75579da
1 changed files with 4 additions and 0 deletions
|
|
@ -142,6 +142,10 @@ impl Request {
|
||||||
processed.push(c);
|
processed.push(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
return Err(anyhow::anyhow!(
|
||||||
|
"url decode: too few characters in '%{}'", part
|
||||||
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue