ExtensionsFilter and DefaultAddResource Should Respect <base> Tag
-----------------------------------------------------------------

                 Key: TOMAHAWK-1555
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1555
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: ExtensionsFilter
    Affects Versions: 1.1.10
         Environment: JSF 1.2
            Reporter: Ray Gauss II


According to http://www.w3.org/TR/REC-html40/struct/links.html#edef-BASE: the 
base HTML element must appear '...before any element that refers to an external 
source'.

As a result the base tag can not be used when using the ExtensionsFilter since 
DefaultAddResource adds script references before the base tag and most browser 
then ignore it according to the spec.

If the base tag is present the script references should be added after and 
should be relative to that base tag or absolute.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to