-Also disallow the patterns //* and /\* when checking redirect URLs.
+Also disallow redirect URLs starting with // or /\.
The following function validates a (presumably untrusted) redirect URL redir. If it
-does not begin with /, the harmless placeholder redirect URL, / is
+does not begin with /, the harmless placeholder redirect URL / is
returned to prevent an open redirect; otherwise redir itself is returned.