commit 44ffe5abaefd13a0b6ec7bf6715579bfb74844e3 parent 9c58a4c727e36c10fe6e1eec241d2a7530cfbc97 Author: Henrique Chan Carvalho Machado <henriqueccmachado@tecnico.ulisboa.pt> Date: Mon, 19 Jan 2026 20:43:55 +0100 Fix allowed swiyu deeplinks Diffstat:
| M | kych_oauth2_gateway/src/handlers.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kych_oauth2_gateway/src/handlers.rs b/kych_oauth2_gateway/src/handlers.rs @@ -19,7 +19,7 @@ fn is_safe_deeplink(url: &str) -> bool { return true; } let url_lower = url.to_lowercase(); - url_lower.starts_with("swiyu://") || url_lower.starts_with("https://") + url_lower.starts_with("swiyu-verify://") || url_lower.starts_with("https://") } fn json_encode_string(s: &str) -> String {