Fix for #32595, users can view the blame or history of file with newlines in its filename.
What does this MR do?
This is a fix for #32595 (closed).
Currently, if a user attempts to view the history or blame of a file new newline characters in its filename, the user will see a 500 error page. This MR resolves this, the user will be able to view the blame and history as normal.
Details
This is essential the same issue that was resolved in this previous merge request. The routing constraint \.*\
filters out newline characters which removes the necessary path parameter sent to the project/refs controller. Changing this constraint to \[^\0]*
will permit newline characters.
Conformity
Closes #32595 (closed)
Edited by Jesse Hall