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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | common_inc_regexp.patch | 618 bytes | maartenvg |
| #1 | common_inc_regexp.patch | 1.75 KB | maartenvg |
| common_inc_regexp.patch.txt | 415 bytes | gribnif |
Comments
Comment #1
maartenvg commentedPatch still applies.
Visually the patch is logically and introduces no problems. Attached is a patch against HEAD from document root.
Comment #2
maartenvg commentedignore that patch. It has some other edits in it as well.
Here is a clean one.
Comment #3
nicholasthompsonI 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"...
Comment #4
dries commentedCommitted to CVS HEAD and DRUPAL-6. Thanks!