Sometime jump to static pic when login #4031

Closed
opened 2025-11-02 05:34:54 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @unsciorg on GitHub (Sep 29, 2019).

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

Description

Sometimes it jumps to a static pic (such as the green cup or a js file ) when I login , I have to type homepage url to jump to homepage.

I click the login button, but it jump to https://mydomain.com/img/gitea-lg.png

Screenshots

image

Originally created by @unsciorg on GitHub (Sep 29, 2019). - Gitea version (or commit ref): 1.12.9 - Git version: 2.2.1 - Operating system: Centos 7 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: None ## Description Sometimes it jumps to a static pic (such as the green cup or a js file ) when I login , I have to type homepage url to jump to homepage. I click the login button, but it jump to https://mydomain.com/img/gitea-lg.png ## Screenshots ![image](https://user-images.githubusercontent.com/15797571/65843077-4e366a80-e362-11e9-8df7-0d771b522a1d.png) <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 05:34:54 -06:00
Author
Owner

@stale[bot] commented on GitHub (Nov 29, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Nov 29, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@lunny commented on GitHub (Nov 29, 2019):

This is still a bug because static files will follow session.

@lunny commented on GitHub (Nov 29, 2019): This is still a bug because static files will follow session.
Author
Owner

@lunny commented on GitHub (Jan 6, 2021):

I think this has been resolved.

@lunny commented on GitHub (Jan 6, 2021): I think this has been resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4031