[FIX] do not absolutify data uri when merging css files

bzr revid: chs@openerp.com-20120716142918-813sn1z197ily3un
This commit is contained in:
Christophe Simonis 2012-07-16 16:29:18 +02:00
parent 1fd92244d2
commit 9f34b1ebaf
1 changed files with 1 additions and 2 deletions

View File

@ -258,8 +258,7 @@ class WebClient(openerpweb.Controller):
file_map = dict(files)
rx_import = re.compile(r"""@import\s+('|")(?!'|"|/|https?://)""", re.U)
rx_url = re.compile(r"""url\s*\(\s*('|"|)(?!'|"|/|https?://)""", re.U)
rx_url = re.compile(r"""url\s*\(\s*('|"|)(?!'|"|/|https?://|data:)""", re.U)
def reader(f):
"""read the a css file and absolutify all relative uris"""