mirror of
1
Fork 0
forgejo/modules/context
Lauris BH a259a928ad
Fix open redirect check for more cases (#25143) (#25155)
Backport https://github.com/go-gitea/gitea/pull/25143

If redirect_to parameter has set value starting with \\example.com
redirect will be created with header Location: /\\example.com that will
redirect to example.com domain.

(cherry picked from commit a9030052a7)
2023-06-12 23:23:43 +02:00
..
access_log.go
api.go [BRANDING] X-Forgejo-OTP can be used instead of X-Gitea-OTP 2023-05-10 11:05:22 +02:00
api_forgejo_test.go [BRANDING] X-Forgejo-OTP can be used instead of X-Gitea-OTP 2023-05-10 11:05:22 +02:00
api_org.go
api_test.go
auth.go
captcha.go
context.go Fix open redirect check for more cases (#25143) (#25155) 2023-06-12 23:23:43 +02:00
context_test.go Fix safari cookie session bug (#24772) 2023-05-23 07:42:34 +02:00
csrf.go
form.go
org.go
package.go
pagination.go
permission.go Require repo scope for PATs for private repos and basic authentication (#24362) (#24364) 2023-04-26 20:57:51 -04:00
private.go
repo.go
response.go
utils.go
xsrf.go
xsrf_test.go