Defect #17511

Wiki URL 404 when using markdown

Added by Jakob Gillich over 7 years ago. Updated over 7 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:-
Resolution: Affected version:

Description

I configured Redmine to use markdown for text input. On my main wiki page, I added a link:

[API](api)

Which renders to:

<a class="external" href="api">API</a>

But when I'm on the main page, it points to `projects/PROJECT/api` instead of `projects/PROJECT/wiki/api`, thus giving me a 404 when clicked.

Environment:
Redmine version 2.5.2.stable
Ruby version 2.0.0-p353 (2013-11-22) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2

History

#1 Updated by Toshi MARUYAMA over 7 years ago

  • Category set to Text formatting

#2 Updated by Toshi MARUYAMA over 7 years ago

  • Category changed from Text formatting to Wiki

#3 Updated by Frank Delahoyde over 7 years ago

I see the same behavior with Redmine configured to use the ckeditor plugin for text input.

Environment:
Redmine version 2.5.2.stable
Ruby version 2.0.0-p353 (2013-11-22) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter PostgreSQL

#4 Updated by Frank Delahoyde over 7 years ago

Looking a little further, this behavior doesn't seem to persist if you rename the Start page to something other than Wiki.

#5 Updated by Frank Delahoyde over 7 years ago

But you need to leave the Start page as "Wiki" in Settings=>Wiki for the project or it breaks again.

Also available in: Atom PDF