diff --git a/endpoints/web.py b/endpoints/web.py index 5767d7e72..b967b7528 100644 --- a/endpoints/web.py +++ b/endpoints/web.py @@ -80,12 +80,14 @@ def not_found_error_display(e = None): return resp @web.route('/organization/', methods=['GET']) +@web.route('/organization//', methods=['GET']) @no_cache def org_view(path): return index('') @web.route('/user/', methods=['GET']) +@web.route('/user//', methods=['GET']) @no_cache def user_view(path): return index('') @@ -757,6 +759,7 @@ def attach_custom_build_trigger(namespace_name, repo_name): @web.route('/') +@web.route('//') @no_cache @process_oauth @parse_repository_name(include_tag=True) @@ -809,6 +812,7 @@ def redirect_to_repository(namespace_name, repo_name, tag_name): @web.route('/') +@web.route('//') @no_cache @process_oauth @anon_protect