mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
Owen Mansel-Chan
parent
a9420d46c8
commit
52b6539697
@@ -178,7 +178,7 @@ func testLocalRedirects(ctx echo.Context) error {
|
||||
param := ctx.Param("someParam")
|
||||
param2 := param
|
||||
param3 := param
|
||||
// Gratuitious copy because sanitization of uses propagates to subsequent uses
|
||||
// Gratuitous copy because sanitization of uses propagates to subsequent uses
|
||||
// GOOD: local redirects are unproblematic
|
||||
ctx.Redirect(301, "/local"+param)
|
||||
// BAD: this could be a non-local redirect
|
||||
|
||||
Reference in New Issue
Block a user