Bug #2115
Base href is not correct when calling index_dev.php
Status: | Resolved | Start date: | 2008-11-11 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Resource | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
The base href looks like:
Resources/Web/FLOW3/Public/MVC/http://192.168.149.129/
But it should be:
Associated revisions
FLOW3:
- changed the resource processing to not prefix URIs starting with a hash, fixes #2115
History
#1 Updated by Karsten Dambekalns over 6 years ago
- Status changed from New to Accepted
- Assigned To changed from Robert Lemke to Karsten Dambekalns
This is caused by interaction between relative link prefixing in the resource manager and marker replacement later on. This is what happens:
base href="###BASEURI###"
is transformed tobase href="Resources/Web/FLOW3/Public/MVC/###BASEURI###"
because URIs starting with a hash are considered relative- Then the marker is replaced with the base URI, leading to
base href="Resources/Web/FLOW3/Public/MVC/http://192.168.149.129/"
Solution: never ever directly prefix markers.
#2 Updated by Karsten Dambekalns over 6 years ago
Better solution: never ever prefix URIs starting with a hash.
#3 Updated by Karsten Dambekalns over 6 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r1480.