Skip to content

Fix the /projects/:id/repository/files/:file_path/raw endpoint to handle dots in the file_path…

Marc Siegfriedt requested to merge mahcsig/gitlab-ce:31470-api-file-raw into master

What does this MR do?

This allows to make API requests for raw files that contain a . in the :file_path.

Are there points in the code the reviewer needs to double check?

no breaking changes made

Why was this MR needed?

API calls with a . in the :file_path would return a 404

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #31470 (closed)

Edited by Marc Siegfriedt

Merge request reports

Loading