Add custom encoding for repository path for commit data
What does this MR do and why?
Add custom encoding for repository path for commit data
Encodes a repository path for use in URLs, handling special characters that could interfere with URL parsing while preserving path separators and commonly used characters.
Adds url utility function specific to repository module that can be further extended for other use cases.
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Go to Project / Repository
- Create a folder with
#in the directory name. - Go to that folder. Verify that commit data is loaded and you can see information in the files table.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Closes #550905 (closed)
Edited by Paulina Sedlak-Jakubowska

