Defect #17511
Wiki URL 404 when using markdown
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due 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 almost 8 years ago
- Category set to Text formatting
#2
Updated by Toshi MARUYAMA almost 8 years ago
- Category changed from Text formatting to Wiki
#3
Updated by Frank Delahoyde almost 8 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 almost 8 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 almost 8 years ago
But you need to leave the Start page as "Wiki" in Settings=>Wiki for the project or it breaks again.