Commit 0aefabb3 authored by Andreas Jung's avatar Andreas Jung

using startswith()

parent d0641640
......@@ -173,7 +173,7 @@ class Traversable:
name = path_pop()
__traceback_info__ = path, name
if name[0] == '_':
if name.startswith('_'):
# Never allowed in a URL.
raise NotFound, name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment