summaryrefslogtreecommitdiff
path: root/doc/bugs/search_plugin_uses_wrong_css_path.mdwn
blob: 9eeb3c37444c3c4f619b165b62848a31205bbc8c (plain)

The search result page uses a wrong path for the css files.

This is, because the search plugin provides $config{cgiurl} as basepath to the misc template. And so the path to the css files ends up to be "$config{cgiurl}/local.css". But this is wrong if $config{cgiurl} is not the same as $config{url}.

Maybe misctemplate() and misc.tmpl should use an additional variable which points always to the base of the wiki.

e.g. use "wikibase" for css and favicon and "baseurl" for the <base> tag.

thanks for pointing this bug out, I've fixed it --[[Joey]]. [[tag done]]