Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366762 - Clone repository wizard fails with username that has @ character (email as username)
Summary: Clone repository wizard fails with username that has @ character (email as us...
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 17:18 EST by Lucas Panjer CLA
Modified: 2011-12-14 17:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Panjer CLA 2011-12-14 17:18:09 EST
Trying to clone a repository over SSH with an email address as username using SSH key for authentication.

h2. Using name%40example.com@example.com produces:

EGit 1.1.0 Release
ssh://name%40example.com@example.com/repository.git: Auth fail
Auth fail

EGit 1.2.0.201112180832 Nightly
ssh://name%40exmaple.com@example.com/repository.git: session is down
session is down


h2. Using name@example.com@example.com produces:

EGit 1.1.0 Release & EGit 1.2.0.201112180832 Nightly
ssh://name@example.com@example.com/repository.git: java.net.UnknownHostException: example.com@example.com
java.net.UnknownHostException: example.com@example.com


h2. Notes:

If I use cgit on the command line:
* using cgit 1.7.1 only the unencoded form works.
* using cgit 1.7.5 either form works.

h2. Expectations

cgit recognizes that the last @ character delimits the beginning of the hostname. I expect EGit/JGit to function the same way.