Skip to content

Gitea migration behavior is broken #38766

Description

@hiifong

Gitea Version

1.27,main

What happened?

When canceling a migration and deleting the repository while a migration is in progress, the response returns JSON data instead of redirecting to the correct URL.

iShot_2026-08-03_23.06.38.mp4

How are you running Gitea?

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