Directories named 'directory' cannot be browsed in snapshot context views
Due to the current URL regexps ordering for browsing a directory in a context of a snapshot or an origin, trying to browse a directory named 'directory' returns a 404, see https://archive.softwareheritage.org/browse/origin/http://snapshot.debian.org/package/texlive-extra//directory/texmf-dist/tex/latex/directory/ for instance.
Changing the ordering of the URL regexps declaration should be sufficient to fix that issue.
Migrated from T2115 (view on Phabricator)
Edited by Phabricator Migration user