You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you'll get a runtime error that the url is invalid on line 91 of the configure.js file, because of new URL.... If you use encodeURIComponent to encode the url to get around this problem, the url will be double encoded at line 124, because of url.format.
So we have a catch 22.
Expected Behavior
invalid urls are accepted and work, or put the burden of making the url valid on the consumer and don't double encode.
Actual Behavior
See above in the description
Possible Fix
I'll put up a PR.
Steps to Reproduce
Context
Cannot use # in passwords, so rotating passwords is very problematic.
Your Environment
Version used: 17.0.2
Environment name and version (e.g. Chrome 39, node.js 5.4): node.js 16.14.0
Operating System and version (desktop or mobile): macOS, 14.0 (23A344)
Link to your project: private
The text was updated successfully, but these errors were encountered:
Hi @toby-farris-bd,
Thanks for reporting and offer of a PR. I'll also take a look later today. I'm curious as to what happens if you change the URL to http://friend:%23Mellon@Khazad-dum.west.gate
Description
If you attempt to use a url like
you'll get a runtime error that the url is invalid on line 91 of the configure.js file, because of
new URL...
. If you useencodeURIComponent
to encode the url to get around this problem, the url will be double encoded at line 124, because ofurl.format
.So we have a catch 22.
Expected Behavior
invalid urls are accepted and work, or put the burden of making the url valid on the consumer and don't double encode.
Actual Behavior
See above in the description
Possible Fix
I'll put up a PR.
Steps to Reproduce
Context
Cannot use
#
in passwords, so rotating passwords is very problematic.Your Environment
The text was updated successfully, but these errors were encountered: