diff MoinMoin/app.py @ 1919:20867923566a

fix ItemNameConverter regex, fixes #316
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 02 Feb 2013 03:07:59 +0100
parents f38a893334b5
children 2bd864ed640e 5281fec759b1
line wrap: on
line diff
--- a/MoinMoin/app.py	Sun Jan 20 23:36:37 2013 +0100
+++ b/MoinMoin/app.py	Sat Feb 02 03:07:59 2013 +0100
@@ -112,7 +112,7 @@
 
         :param map: the :class:`Map`.
         """
-        regex = '[^/].*?[^/]'
+        regex = '[^/]+?(/[^/]+?)*'
         weight = 200
 
     app.url_map.converters['itemname'] = ItemNameConverter