-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No question mark allowed in password #57
Comments
As far as I know this is a bug in the nodejs implementation. See the "closed" ticket: #34 |
Thanks, I see that now. I read up on the spec at http://www.ietf.org/rfc/rfc1738.txt (Section 3.1), which says that ":", "@" and "/" must be encoded. I does NOT say that "%", "?", "#" must be encoded, yet these cause That being said, the Is the expectation that |
I figure I'll close this and pursue the matter with the |
There is an issue that causes question marks in passwords to be rejected from the connection string. e.g.:
will throw an error, because
url.parse(str)
returns:which is clearly incorrect. I expected that if I
encodeURIComponent
the password, thatpg
would figure it all out for me. However, this would require we changeutils.js
from:to:
I see no adverse response to this, since any password that would be changed by
decodeURIComponent
will already break the system (correct me if I'm wrong).What are your thoughts?
The text was updated successfully, but these errors were encountered: