
an @ sign in password creates a bad URI
Reported by jack dempsey (jackdempsey) | April 16th, 2008 @ 11:55 AM
It looks like the password is passed directly to the URI handler when connecting without escaping or encoding any special characters. This creates a bad uri if you have a pass like "p@ss"
mysql://user:p@ss@localhost....
i was using the 0.9.0 release installed from git source last night.
Comments and changes to this ticket
-
Guy van den Berg (guyvdb) April 16th, 2008 @ 12:07 PM
- Milestone cleared.
- State changed from new to open
-
Dan Kubb (dkubb) April 16th, 2008 @ 05:04 PM
This is actually a problem I've run into in other contexts, like when working with ActiveResource.
I got around it by monkey-patching URI to properly escape the username and password:
-
-
Sam Smoot May 8th, 2008 @ 04:44 PM
- State changed from open to resolved
Addressable is in. Resolved.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »