Internal Wiki link return a 404 error #3282

Closed
opened 2025-11-02 05:06:29 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @PiDroid-B on GitHub (May 2, 2019).

  • Gitea version (or commit ref): 1.8.0
  • Git version: 2.11.0
  • Operating system: Debian 9
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist:

Description

  • Create a repository
  • Click on Wiki tab and create a new page
  • Show this page
  • Copy https link on the top-right part of this page
  • Open this link in webbrowser

==> Gitea return a 404 error

Repository OK :
https return for repo : https://sub.domain.com/orga/repos.git

Internal Wiki Repo 404 Error :
https returned for wiki : https://sub.domain.com/orga/repos.wiki.git
instead of https://sub.domain.com/orga/repos/wiki ?

[EDIT]
concern the webbrowser navigation only, the git cloning works well.

Cloning

git clone https://sub.domain.com/orga/repos.git ✔️
git clone https://sub.domain.com/orga/repos.wiki.git ✔️
It works well

Web navigation

https://sub.domain.com/orga/repos.git ✔️
https://sub.domain.com/orga/repos.wiki.git
Different behavior between repo and this wiki

Maybe it doesn't matter...
[/EDIT]

Screenshots

Capture du 2019-05-02 15-04-31

Originally created by @PiDroid-B on GitHub (May 2, 2019). <!-- 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.8.0 - Git version: 2.11.0 - Operating system: Debian 9 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes ([example URL wiki-https-url](https://try.gitea.io/pidroid/wiki-https-url)) - [ ] No - [ ] Not relevant - Log gist: ## Description - Create a repository - Click on Wiki tab and create a new page - Show this page - Copy https link on the top-right part of this page - Open this link in webbrowser ==> Gitea return a 404 error Repository OK : https return for repo : https://sub.domain.com/orga/repos.git Internal Wiki Repo 404 Error : https returned for wiki : https://sub.domain.com/orga/repos.wiki.git instead of https://sub.domain.com/orga/repos/wiki ? **[EDIT]** concern the webbrowser navigation only, the git cloning works well. #### Cloning `git clone https://sub.domain.com/orga/repos.git` :heavy_check_mark: `git clone https://sub.domain.com/orga/repos.wiki.git` :heavy_check_mark: It works well #### Web navigation `https://sub.domain.com/orga/repos.git` :heavy_check_mark: `https://sub.domain.com/orga/repos.wiki.git` :x: Different behavior between repo and this wiki Maybe it doesn't matter... **[/EDIT]** ## Screenshots ![Capture du 2019-05-02 15-04-31](https://user-images.githubusercontent.com/50204347/57077245-d2b98a00-6ceb-11e9-8577-043ade216bc5.png)
Author
Owner

@techknowlogick commented on GitHub (May 2, 2019):

Closing per comments on discord.

@techknowlogick commented on GitHub (May 2, 2019): Closing per comments on discord.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3282