From f19cf45e5741838d1798bbcc21dbc81673801ad5 Mon Sep 17 00:00:00 2001 From: Techassi Date: Tue, 3 Nov 2026 13:27:44 +0100 Subject: [PATCH] chore(template): Add templated clippy.toml, disallow Url::join --- template/clippy.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 template/clippy.toml diff --git a/template/clippy.toml b/template/clippy.toml new file mode 100644 index 00000000..8bfad378 --- /dev/null +++ b/template/clippy.toml @@ -0,0 +1,6 @@ +# This file is automatically generated from the templates in stackabletech/operator-templating +# DO NOT MANUALLY EDIT THIS FILE + +disallowed-methods = [ + { path = "url::Url::join", reason = "the function resolves its input as a URL, allowing bad actors to craft malicious inputs which replace the URL entirely or traverse the path; use UrlExt::join_safe instead" }, +]