+ path = context.request.path
+ # Always add a trailing space, so that a /Foo/ also matches the /Foo
+ # path (without needing to remove the trailing space from the
+ # prefix, which would make also match /FooBar).
+ if path[-1] != '/':
+ path += '/'