Modify

Opened 4 years ago

Closed 4 years ago

#3260 closed Bug (No Bug)

_IECreate cannot handle basic auth with domain included in username

Reported by: nathanoyler@… 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)

comment:1 follow-up: Changed 4 years ago by 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:2 Changed 4 years ago by mLipok

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/

Last edited 4 years ago by mLipok (previous) (diff)

comment:3 in reply to: ↑ 1 ; follow-up: Changed 4 years ago by 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:4 in reply to: ↑ 3 Changed 4 years ago by anonymous

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 Changed 4 years ago by mLipok

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.