This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 227914 - re-escaping escaped characters on mercurial usernames
Summary: re-escaping escaped characters on mercurial usernames
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.3
Hardware: PC Windows 8 x64
: P2 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 16:46 UTC by gpmelendez
Modified: 2013-03-26 09:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gpmelendez 2013-03-25 16:46:49 UTC
This happens when the username used to access Mercurial repository is an email address. e.g. the login is foo@domain.com, then the hgrc file contains:

[paths]
default = https://foo%40domain.com@code.google.com/p/foo
default-push = https://foo%40domain.com@code.google.com/p/foo

where the %40 is the escaped @ character. I can do an hg push command succesfully in the local repository, but in Netbeans it uses https://foo%2540domain.com@code.google.com/p/foo to push, re-escaping the % character, causing credential errors.

Thanks.
Comment 1 Ondrej Vrabec 2013-03-26 09:32:08 UTC
fix: http://hg.netbeans.org/core-main/rev/c61405ee5f61