Issue Bug Closed

#22120absRefPrefix is not added to inline CSS url

Robert Heel 02/15/10, 11:22 updated 09/17/13, 18:22

Description

If config.absRefPrefix = http://test.org/ is set in typoscript
background-image:url(abs.png);

in the templated is replaced by
background-image:url(fileadmin/templates/abs.png);

But it should be
background-image:url(http://test.org/fileadmin/templates/abs.png);

Extract the attached content to fileadmin/templates/, install automaketemplate and insert TS:
config.absRefPrefix = http://test.org/
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/templates/abs.html
elements {
BODY.all = 1
HEAD.all = 1
HEAD.rmTagSections = title
TD.all = 1
}
relPathPrefix = fileadmin/templates/
}
  1. Default PAGE object:
    page = PAGE
    page.typeNum = 0
    page.config.disableAllHeaderCode=1
    page.10 =< plugin.tx_automaketemplate_pi1

(issue imported from #M13540)

Reviews 0

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