[MGNLREST-196] Convert returned links into public links Created: 14/Nov/18 Updated: 23/Oct/23 Resolved: 06/Oct/20 |
|
| Status: | Closed |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.3 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Jonathan Ayala | Assignee: | Sang Ngo Huu |
| Resolution: | Fixed | Votes: | 3 |
| Labels: | maintenance | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 3d 7.5h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||||||
| Epic Link: | Headless Phase 2 | ||||||||||||||||||||||||||||||||||||
| Sprint: | UI FW 7, UI FW 8, Maintenance 27 | ||||||||||||||||||||||||||||||||||||
| Story Points: | 2 | ||||||||||||||||||||||||||||||||||||
| Description |
|
When retrieving content from RichTextField through a REST request links are returned with the form:
<a href=\"${link:{uuid:{090eb9c4-b35b-4869-a12f-6ea80292cba4},repository:{dam},path:{/tours/paris_eiffel_Louis-Pellissier_IMG_8643.jpg}}}\">paris_eiffel_Louis-Pellissier_IMG_8643.jpg</a>
This won't be desirable in many cases and thus there should be a way to have them in the form:
http://localhost:8080/.../paris_eiffel_Louis-Pellissier_IMG_8643.jpg
Acceptance Criteria:
|
| Comments |
| Comment by Federico Grilli [ 09/Sep/20 ] |
|
The image url produced is invalid, as it gets a .html appended, e.g. http://localhost:8080/magnolia/dam/Kyoto.jpg.html |