KeyError: 'path' when browsing directory with the legacy URL
Sentry Issue: SWH-WEBAPP-4NT
KeyError: 'path'
File "django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "swh/web/browse/views/directory.py", line 291, in directory_browse_legacy
return _directory_browse(request, sha1_git, path)
File "swh/web/browse/views/directory.py", line 48, in _directory_browse
params["path"] = f'{sha1_git}/{params["path"]}'
Edited by vlorentz