web/views/urlrewrite.py
changeset 4436 294e084f1263
parent 4350 9ad697216604
parent 4405 fe31bb5dada5
child 4706 6035e96b64dd
--- a/web/views/urlrewrite.py	Tue Feb 02 18:24:45 2010 +0100
+++ b/web/views/urlrewrite.py	Wed Feb 03 14:46:32 2010 +0100
@@ -83,6 +83,8 @@
         ('/notfound', dict(vid='404')),
         ('/error', dict(vid='error')),
         ('/sparql', dict(vid='sparql')),
+        # XXX should be case insensitive as 'create', but I would like to find another way than
+        # relying on the etype_selector
         (rgx('/schema/([^/]+?)/?'),  dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')),
         (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')),
         (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')),