stable

Clone or download

Read-only

request #24143: Files with spaces in their names cannot be linked from rendered CommonMark files

CommonMark expects URLs and URLs cannot contain spaces without being encoded. The existing code did not take into account that URL could be URL encoded. Change-Id: If0e5c92ca6dcec5e5161f38a7c9ccf2371f0fe83

Modified Files

Name
M plugins/git/include/CommonMarkExtension/LinkToGitFileBlobFinder.php +5 −4 Go to diff View file
M plugins/git/tests/unit/CommonMarkExtension/LinkToGitFileBlobFinderTest.php +1 −0 Go to diff View file