Opened 10 years ago
Closed 10 years ago
#3260 closed Bug (No Bug)
_IECreate cannot handle basic auth with domain included in username
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | _IECreate basic auth domain | Cc: |
Description
When using _IECreate to open a website that requires basic auth, the URL looks something like this:
http://username:password@www.website.com
However, if a domain name needs to be specified in the username, it looks like this:
https://username@domain:password@www.website.com
I'm assuming _IECreate is splitting the string on the @ and getting wonky. If you try to use that function to open a website, it just craps out with this output in the console:
"C:\Program Files (x86)\AutoIt3\Include\IE.au3" (272) : ==> The requested action with this object has failed.: $oObject.navigate($sUrl) $oObject^ ERROR >Exit code: 1 Time: 0.3972
Attachments (0)
Change History (5)
follow-up: 3 comment:1 by , 10 years ago
comment:2 by , 10 years ago
I would also to know if this MSDN article:
https://support.microsoft.com/en-us/kb/834489
was readed before this thicket was posted by OP.
And whether this is the case.
btw.
You can also read this:
https://www.autoitscript.com/forum/topic/111411-basic-authentication-_iecreateinetget/
follow-up: 4 comment:3 by , 10 years ago
My apologies. I can submit in the forum, also. But to answer your question, yes, it works correctly from IE directly.
Replying to Jos:
Does the url you use in the script actually work when used in your IE browser?
Please come to the forum and open a new topic for this before posting it as a bugreport.
It is much easier to have a dialog and confirm it is a bug.
Jos
comment:4 by , 10 years ago
I take that back...it is an IE-specific issue. It works from Chrome, but IE cannot handle the URL, either. Given that, it's not exactly _IECreate at fault, and this ticket can be closed. Sorry for the false alarm!
Replying to anonymous:
My apologies. I can submit in the forum, also. But to answer your question, yes, it works correctly from IE directly.
Replying to Jos:
Does the url you use in the script actually work when used in your IE browser?
Please come to the forum and open a new topic for this before posting it as a bugreport.
It is much easier to have a dialog and confirm it is a bug.
Jos
comment:5 by , 10 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |

Does the url you use in the script actually work when used in your IE browser?
Please come to the forum and open a new topic for this before posting it as a bugreport.
It is much easier to have a dialog and confirm it is a bug.
Jos