Wrong redirect after cron cancellation #5668

Closed
opened 2025-11-02 06:32:30 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @somera on GitHub (Jul 1, 2020).

  • Gitea version (or commit ref): 1.12.1
  • Git version: 2.20.1
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

I'm using Nginx as proxy and the root_url is set to

ROOT_URL = http://pi-manager/git/

When I cancel a runnig cron

image

than the redirect goes to:

http://pi-manager/admin/monitor

Screenshots

Originally created by @somera on GitHub (Jul 1, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.1 - Git version: 2.20.1 - Operating system: Linux - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant ## Description I'm using Nginx as proxy and the root_url is set to `ROOT_URL = http://pi-manager/git/` When I cancel a runnig cron ![image](https://user-images.githubusercontent.com/8334250/86262527-44c38280-bbc0-11ea-8af7-50f9a22ad7b7.png) than the redirect goes to: `http://pi-manager/admin/monitor` ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5668