Skip to content

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

Closed
@laurivosandi

Description

@laurivosandi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions