Community
Participate
Working Groups
HTTP URLs support encoding basic authentication information in it. Unfortunately this information is lost in https://github.com/eclipse/jgit/blob/30c6c7542190c149e2aee792f992a312a5fc5793/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java#L286. While the parameter "urish" still contains the password given in the original url, the resulting "java.net.URL" does not contain it, as it is being created from "URIsh.toString()" which does not include the password. That is a problem, whenever the server does not answer with the expected "401" status code, as then the password is never transmitted to the server.
New Gerrit change created: https://git.eclipse.org/r/132762
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/173320
Gerrit change https://git.eclipse.org/r/c/jgit/jgit/+/173320 was merged to [master]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=58f4e6e7f8d0f897c99fa1de5970928a826c5eb8