Defect #36031
REST API show wiki page in html format contains wrong links to another wiki project
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | REST API | |||
Target version: | - | |||
Resolution: | Affected version: | 4.1.4 |
Description
Hi,
Environment
Environment: Redmine version 4.1.4.stable Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu] Rails version 5.2.6 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.9.7 Git 2.17.1 Filesystem Redmine plugins: additionals 2.0.24 clipboard_image_paste 1.13 redmine_agile 1.6.0 redmine_checklists 3.1.18 redmine_custom_workflows 1.0.4 redmine_issue_badge 0.1.2 redmine_lightbox2 0.5.0 redmine_theme_changer 0.4.0 redmine_todos 4.1.0 redmineup_tags 2.0.8
I have problem with REST API for read wiki pages - string
[[expedice-pristupy:wiki|Přístupové údaje]]
in html response from REST API is returned as
<a class="wiki-page" href="Wiki.html">Přístupové údaje</a>
instead
<a class="wiki-page" href="/projects/expedice-pristupy/wiki/Wiki">Přístupové údaje</a>
or as full url, like links to images.
Thanks