[MAGNOLIA-8361] Provide relative URL in permanent redirections according to RFC 7231 Created: 25/Mar/22 Updated: 25/Mar/22 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Jonathan Ayala | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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)
|
||||
| Description |
|
Relative URLs are allowed as Location of permanent redirections according to RFC 7231. We only generate absolute urls in info.magnolia.cms.util.RequestDispatchUtil for permanent action. In certain cases, relative URLs might be needed so it would be good if we provided both types of URLs (absolute and relative) following the RFC. |