Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
appview/state: fix open redirect via return_url after OAuth login master
Validate return_url before storing it in the session: only relative paths starting with "/" (and not "//") are accepted. Anything else — absolute URLs and protocol-relative URLs — is replaced with "/". Add tests covering the accepted and rejected cases. Signed-off-by: Matías Insaurralde <matias@insaurral.de>
Author Matías Insaurralde Committer Tangled Date (Apr 8, 2026, 5:06 AM UTC) Commit 1b29c32f 1b29c32f7d9c90b6474cbb3f847229660d776b6b Parent df56d3db df56d3db8aafa82d61fb18cb39af1036ea9078d4