mhoffrog commented on code in PR #237: URL: https://github.com/apache/maven-scm/pull/237#discussion_r2022735211
########## maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/main/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java: ########## @@ -246,21 +259,11 @@ private String getUrl(RepositoryUrl repoUrl) { } if (userName != null && userName.length() > 0) { - String userInfo = userName; + String userInfo = GitUtil.encodeURIComponent(userName); if (password != null && password.length() > 0) { - userInfo += ":" + password; + userInfo += ":" + GitUtil.encodeURIComponent(password); Review Comment: Yes it might be better to separate this change - did revert this and will create another JIRA / PR for it then. Encoding in `GitScmProviderRepository` is now as it was before. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org