Issue Bug Closed

#43606Wrong path when compressing and merging external js files

Simon Schaufelberger 12/05/12, 02:30 updated 06/20/14, 08:18

Description

in t3lib_compressor on line 319 the path for external files is wrong (as parameter for the method t3lib_div::getUrl).
in my case the path looks like this:

C:/xampp/htdocs/http://html5shim.googlecode.com/svn/trunk/html5.js

the problem at this line is that the rootpath ($this->rootPath) is always added even for external files.

to test:

config.compressJs = 1
config.concatenateJs = 1

page = PAGE
page {
    includeJS {
        html5 = http://html5shim.googlecode.com/svn/trunk/html5.js
        html5 {
            external = 1
        }
    }
}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.