Skip to content

Repeatedly hitting Sign In button results in evergrowing redirect_to chain #17421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
laurivosandi opened this issue Oct 24, 2021 · 0 comments · Fixed by #17451
Closed

Repeatedly hitting Sign In button results in evergrowing redirect_to chain #17421

laurivosandi opened this issue Oct 24, 2021 · 0 comments · Fixed by #17451
Labels

Comments

@laurivosandi
Copy link

Gitea Version

1.15.5

Git Version

Docker image

Operating System

Not applicable

How are you running Gitea?

Docker image

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

Repeatedly hitting Sign In button results in ever increasing chain for redirect_to GET argument leading to eventual error 500.

I guess this is done to preserve GET arguments for other views but for /user/login this does not make sense.

Looking at my Gitea server logs looks like some web crawlers get stuck in these loops.

Screenshots

No response

@laurivosandi laurivosandi changed the title Repeatedly hitting Sign In button result in evergrowing redirect_to chain Repeatedly hitting Sign In button results in evergrowing redirect_to chain Oct 24, 2021
@noerw noerw added the type/bug label Oct 24, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants