Non-English wiki page names doesn't work for a relative links #1667

Closed
opened 2025-11-02 04:08:56 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @nick-korsakov on GitHub (Mar 31, 2018).

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

Description

Reproduction:

  • visit wiki page;
  • visit first link "Страница";
  • you will jump to "/wiki/_pages" instead of "/wiki/Страница".

Expected behavior:

  • visit wiki page;
  • visit first link "Страница";
  • jump to "/wiki/Страница" page.

At the same time:

  • relative links for an English-named pages and any absolute links works fine;
  • visit other three links on wiki page;
  • and all of it will work as expected.
Originally created by @nick-korsakov on GitHub (Mar 31, 2018). - Gitea version (or commit ref): 1.4.0 - Git version: 2.11.0 - Operating system: Debian 9.4 (amd64). - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes - [wiki page with reproduction](https://try.gitea.io/nick.korsakov/one/wiki) - [ ] No - [ ] Not relevant - Log gist: ## Description Reproduction: - visit [wiki page](https://try.gitea.io/nick.korsakov/one/wiki); - visit first link "Страница"; - you will jump to "/wiki/_pages" instead of "/wiki/Страница". Expected behavior: - visit [wiki page](https://try.gitea.io/nick.korsakov/one/wiki); - visit first link "Страница"; - jump to "/wiki/Страница" page. At the same time: - relative links for an English-named pages and any absolute links works fine; - visit other three links on [wiki page](https://try.gitea.io/nick.korsakov/one/wiki); - and all of it will work as expected.
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 04:08:56 -06:00
Author
Owner

@jonasfranz commented on GitHub (Apr 1, 2018):

Could you please post the used markdown?

@jonasfranz commented on GitHub (Apr 1, 2018): Could you please post the used markdown?
Author
Owner

@nick-korsakov commented on GitHub (Apr 1, 2018):

- [Страница](Страница) - doesn't work (Russian relative link).
- [Страница](https://try.gitea.io/nick.korsakov/one/wiki/Страница) - works (Russian absolute link).
- [Page](Page) - works (English relative link).
- [Page](https://try.gitea.io/nick.korsakov/one/wiki/Page) - works (English absolute link).
@nick-korsakov commented on GitHub (Apr 1, 2018): ```markdown - [Страница](Страница) - doesn't work (Russian relative link). - [Страница](https://try.gitea.io/nick.korsakov/one/wiki/Страница) - works (Russian absolute link). - [Page](Page) - works (English relative link). - [Page](https://try.gitea.io/nick.korsakov/one/wiki/Page) - works (English absolute link). ```
Author
Owner

@stale[bot] commented on GitHub (Jan 31, 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 (Jan 31, 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

@gwymor commented on GitHub (Jan 10, 2024):

@nick-korsakov Is this still an issue? I tried reproducing the issue on the latest commit (1.22.0+dev-525-ga80debc208) and [Страница](Страница) correctly takes me to /wiki/Страница.

@gwymor commented on GitHub (Jan 10, 2024): @nick-korsakov Is this still an issue? I tried reproducing the issue on the latest commit ([1.22.0+dev-525-ga80debc208](https://github.com/go-gitea/gitea/commit/a80debc208fbf0ecf6ca734e454cae08adafb570)) and `[Страница](Страница)` correctly takes me to `/wiki/Страница`.
Author
Owner

@lunny commented on GitHub (Jan 10, 2024):

Closed now and please feel free to reopen it if it's still an issue.

@lunny commented on GitHub (Jan 10, 2024): Closed now and please feel free to reopen it if it's still an issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1667