Re: Xcode 3 svn access with @-symbol in username?
Re: Xcode 3 svn access with @-symbol in username?
- Subject: Re: Xcode 3 svn access with @-symbol in username?
- From: Karl Moskowski <email@hidden>
- Date: Tue, 13 May 2008 13:07:12 -0400
On 13-May-08, at 12:58 PM, Jack Repenning wrote:
On May 13, 2008, at 9:29 AM, Karl Moskowski wrote:
I've tried changing the @ sign in the email address to @ (i.e.
the URL-escaped version), and it then gives me a simple
authorization failed error even though I correctly reentered the
password.
I don't believe Subversion itself uses the "username@" part of an
URL. It allows it, and strips the user name off, but looks
elsewhere for user name. Xcode seems to insist on inserting your
user name into the URL (there in the "Configure Repositories"
section), but I suspect that under the covers it's still providing a
"--username" parameter to /usr/bin/svn. Under that interpretation,
your error message seems to imply that Xcode extracted up to the
*first* "@" and tried to use that for --username, which of course
failed because it's not your username. URL-escaping the "@" into
"@" fails because --username doesn't take an URL, so no one's
expecting to un-URL-escape it.
I've read that Xcode 3's SCM support was rewritten so that it uses the
Subversion libraries directly (instead of spawning a task with the svn
tool).
IOW, it seems very like this is an Xcode problem. Perhaps there's
some way to escape that first "@" through Xcode? I'm totally
guessing now, but try user\@emailhost and user\\@emailhost and a few
of those. Also maybe \0100 (octal, C-style escape)?
Thanks, Jack. I just tried various combinations of your suggestions,
and none worked.
It looks like Xcode just isn't parsing the username correctly. I've
filed a bug.
----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden