GithubHelp home page GithubHelp logo

Comments (11)

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by Anonymous.


Same problem exists with a '!' in the password for example in case you try to use

git clone http.//user:[email protected]/git in case your password is !gittest
the password should be %23gittest because :!gittest@ is not working.

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).


It is possible that you create an bitbucket account? because the notification system of bitbucket does not notify on anonymous comments.

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by scm_manager_tester (Bitbucket: scm_manager_tester, ).


sure - done!

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).


Thanks

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).


I could not reproduce this issue. I've tested on Mac and on Windows:

#!bash

C:\Users\sdorra>git clone http://test%40scm-manager.org@localhost:8080/scm/git/test
Cloning into test...
Password:
remote: Counting objects: 8, done
remote: Finding sources: 100% (8/8)
remote: Total 8 (delta 2), reused 8 (delta 2)
Unpacking objects: 100% (8/8), done.

C:\Users\sdorra\test>git push http://test%40scm-manager.org@localhost:8080/scm/git/test master
Password:
Counting objects: 8, done.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 1.40 KiB, done.
Total 8 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2)
To http://test%40scm-manager.org@localhost:8080/scm/git/test
 * [new branch]      master -> master

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by scm_manager_tester (Bitbucket: scm_manager_tester, ).


For me it looks like that:

git clone https://test%40test.de@localhost:8181/scm/git/test tester
Initialized empty Git repository in C:/Users/....
Password:
error: The requested URL returned error: 401 while accessing https://test%40test
.de@localhost:8181/scm/git/test/info/refs

and from scm-server.bat:
10:01:04.511 [qtp16399041-18] DEBUG sonia.scm.web.security.XmlAuthenticationHandler - could not find user test%40test.de
10:01:04.511 [qtp16399041-18] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.web.security.XmlAuthenticationHandler e
nds with result, user: null, state: NOT_FOUND
10:01:04.980 [qtp16399041-18] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.auth.ldap.LDAPAuthenticationHandler end
s with result, user: null, state: NOT_FOUND

SCM Manager is running on Windows

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).


My test was on windows too, which version of git do you use? I think that is not a problem of the scm-manager, because the client (in this case git) must parse the url and create a basic-auth-header of the given username and password.

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by scm_manager_tester (Bitbucket: scm_manager_tester, ).


git version 1.7.3.1.msysgit.0

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).


I have the same problem with this version, but the issue does not occur with 1.7.4.

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by Sebastian Sdorra (Bitbucket: sdorra, GitHub: sdorra).


Can your upgrade your Git to the version 1.7.4 or later?

from scm-manager.

cesmarvin avatar cesmarvin commented on June 4, 2024

Original comment by scm_manager_tester (Bitbucket: scm_manager_tester, ).


Absolutly right! I switched to version 1.7.4 and the problem is gone....

THANKS!

from scm-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.