diff -r 101344a6ff9b -r 294e084f1263 web/views/urlrewrite.py --- 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')),