The regular expression in _drupal_build_css_path in common.inc is supposed to merge "themeName/../" sequences, but instead merges any (theme) directory name containing exactly two characters, such as "themeName/my/". The dots in the regexp need to be escaped. See the attached patch.

Comments

maartenvg’s picture

StatusFileSize
new1.75 KB

Patch still applies.
Visually the patch is logically and introduces no problems. Attached is a patch against HEAD from document root.

maartenvg’s picture

StatusFileSize
new618 bytes

ignore that patch. It has some other edits in it as well.

Here is a clean one.

nicholasthompson’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm this fix applies to D6 (6.6)... (and the code looks untouched in HEAD)... This broke the theme for www.nicholasthompson.co.uk where the theme is called "nt"...

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD and DRUPAL-6. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.