web/views/staticcontrollers.py
changeset 8369 e538ad6f9b99
parent 8361 7f356ba4181c
child 8389 94f26e3b09bf
--- a/web/views/staticcontrollers.py	Wed Apr 11 16:47:30 2012 +0200
+++ b/web/views/staticcontrollers.py	Thu Apr 12 13:55:18 2012 +0200
@@ -207,6 +207,9 @@
         else:
             uiprops = config.uiprops
         relpath = self.relpath
+        if relpath.startswith('fckeditor/'):
+            relpath = relpath[len('fckeditor/'):]
+        relpath = relpath.split('?', 1)[0]
         return self.static_file(osp.join(uiprops['FCKEDITOR_PATH'], relpath))