Staging instance, all changes can be removed at any time

Skip to content

browse/directory: Redirect to content view when path targets a file

Browse views used to render a directory have a path query parameter to request the display of a sub-path reachable from the directory.

If the path was targeting a file, the views were returning a 404 error so prefer to redirect to the content view instead.

Related to #4331 (closed)

Edited by Antoine Lambert

Merge request reports

Loading