Bryan Frimin
59f8e943fb
Fix open redirect bypass in saferedirect
...
Relative redirect URLs are now normalized before validation. Paths
containing backslashes (including percent-encoded %5c) are rejected,
closing a bypass where /../\evil.com passed checks but http.Redirect
normalized to /\evil.com.
Reported by Fushuling and RacerZ.
Signed-off-by: Bryan Frimin <bryan@probo.com >
2026-05-26 11:41:33 -07:00
..
2026-05-20 15:05:08 +04:00
2026-05-20 11:46:39 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 11:46:39 +04:00
2026-05-20 09:27:28 +04:00
2026-03-25 17:38:32 +01:00
2026-05-20 11:46:39 +04:00
2026-05-20 11:46:39 +04:00
2026-05-20 11:46:39 +04:00
2026-05-26 08:26:47 -07:00
2026-05-20 09:27:28 +04:00
2026-05-26 18:06:55 +02:00
2026-05-26 18:06:55 +02:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-21 14:49:19 +02:00
2026-05-20 09:27:28 +04:00
2026-04-03 11:56:06 +02:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 15:36:47 -07:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-25 23:04:44 -07:00
2026-05-20 11:46:39 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:53:09 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-26 08:26:49 -07:00
2026-05-20 15:36:47 -07:00
2026-05-20 11:53:50 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 11:46:39 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 15:05:08 +04:00
2026-05-26 11:41:33 -07:00
2026-05-20 09:27:28 +04:00
2026-04-20 09:46:44 +02:00
2026-05-26 08:26:49 -07:00
2026-05-20 16:51:15 -07:00
2026-03-25 17:38:32 +01:00
2026-04-20 09:46:44 +02:00
2026-05-12 16:43:36 +04:00
2026-05-26 15:49:17 +02:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 09:27:28 +04:00
2026-05-20 11:46:39 +04:00