Hi all,
We seem to be encountering an issue with the git-path plugin related to URLs with spaces in them.
Sample error when passing url-encoded spaces:
jvm 1 | 2025-05-06 15:37:40,506 INFO [151@MessageListener for MaterialUpdateListener] MaterialDatabaseUpdater:124 - [Material Update] Modification check failed for material: [url=
https://dev.azure.com/MyOrg/ProjectName%20Has%20Spaces/_git/some_repo, username=myUser, password={{SECRET:[logins][myUser.PAT]}}, auto_update=true, branch=main, path=path/to/folder/] cause: java.lang.RuntimeException: The plugin sent a response that could not be understood by Go. Plugin returned with code '500' and the following response: '"Invalid URL format"'
Sample error when passing raw spaces:
2025-05-06 11:25:36.547 | jvm 1 | 2025-05-06 15:25:36,542 INFO [159@MessageListener for MaterialUpdateListener] MaterialDatabaseUpdater:124 - [Material Update] Modification check failed for material: [
url=
https://dev.azure.com/MyOrg/ProjectName Has Spaces/_git/some_repo, username=myUser, password={{SECRET:[logins][myUser.PAT]}}, auto_update=true, branch=main, path=path/to/folder/ ] cause: java.lang.RuntimeException: The plugin sent a response that could not be understood by Go. Plugin returned with code '500' and the following response: '"Invalid URL format"'
These same repositories work fine with the main Git material, but we want to use the git-path plugin for its filtering abilities.
Is there a way to get the plugin working with spaces (or other special characters) in the repository URL?
Is this a bug that we should open a GitHub issue for?
Any help or advice is appreciated.
Regards,
Jason Smyth