Bug #8180
Internal linking in documents doesn't work
100%
Description
Hi,
When putting a link to an internal file in a course document, the link to the internal document is incorrectly formatted.
Steps to reproduce:
- create course document
- click on chain icon (link - 3rd block, 1st icon)
- click on button "browse on server" (don't know exact phrasing in English)
- select a file (e.g. /myfolder/mymanual.pdf)
The link will point to "http://myfolder/mymanual.pdf" while it should clearly be "/myfolder/mymanual.pdf"
When clicking the "browse on server" button, the "http://" selector should automatically switch to "Other" as type.
History
Updated by Julio Montoya about 6 years ago
- Status changed from New to Needs more info
I cannot reproduce the error.
I tried here:
The link I get is correct:
<a href="/courses/SURVEY/document/saul-goodman.jpg">/courses/SURVEY/document/saul-goodman.jpg</a>
Maybe this was already fixed.
Please try here: https://1.10.chamilo.org (access: admin/admin)
Updated by Jurgen Gaeremyn about 6 years ago
It seems to have been fixed in the test server. Thanks.
Updated by Yannick Warnier about 6 years ago
- Category set to Documents
- Status changed from Needs more info to Bug resolved
- Assignee set to Julio Montoya
- % Done changed from 50 to 100