View ID appended at download URL from another Mahara site
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
18.10 |
Fix Released
|
Medium
|
Robert Lyon |
Bug Description
Checked in 16.10 -> 17.04
When you have a public file on one Mahara site, link that for example in a journal entry on another Mahara site and make the page public, the file gets the viewID of that page appended even though there is no reason for it. It seems that Mahara only checks that /artefact/
To replicate:
1. Log into Mahara instance 1.
2. Upload a file into Admin menu -> Configure site -> Files -> Public.
3. Add the file to the public menu (to ensure that you are copying the correct download link that is available to people when not logged in): Admin menu -> Configure site -> Menus -> Public...
4. Copy the file's location. It should look something like http://
5. Log out of Mahara instance 1.
6. Log into Mahara instance 2.
7. Write a journal entry and link some text to the file. Save the entry.
8. Add your journal to a page and make it public.
9. View the page and hover over the link.
Expected result: The link looks exactly the same as before and you can reach the file as it is a public one.
Actual result: The link has a viewID appended, e.g. http://
Changed in mahara: | |
milestone: | 17.10.0 → 18.04.0 |
no longer affects: | mahara/18.04 |
tags: | added: snack-sized |
Changed in mahara: | |
milestone: | 18.04.0 → 18.04.1 |
Patch for "master" branch: https:/ /reviews. mahara. org/8794