Skip to content

Commit 945465c

Browse files
Fixes pentest issue DG25-16 from 2025-09-02 (#159)
* sanitize user agent to prevent html injection * add tests
1 parent c9ef52d commit 945465c

File tree

3 files changed

+331
-1
lines changed

3 files changed

+331
-1
lines changed

Cargo.lock

Lines changed: 225 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ mime_guess = "2.0"
5151
base64 = "0.22"
5252
tower = "0.5"
5353
futures-util = "0.3"
54+
ammonia = "4.1.1"
5455

5556
[build-dependencies]
5657
tonic-prost-build = "0.14"

0 commit comments

Comments
 (0)