Modify

Opened 10 years ago

Closed 10 years ago

#1687 closed Bug (No Bug)

_IECreate/Navigate dont support login in url

Reported by: jorbazz@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.6.0 Severity: None
Keywords: _Iecreate ienavigate log in error Cc:

Description

I figured out that _Ienavigate doesnt support login credentials in url
EX: http://username:password@autoitpage.com
This is the script I tested it with:

#include <IE.au3>
$oIE = _IECreate ("http://username:password@192.168.1.1/Status_Conntrack.asp",0,0,1);Router denied connections
$sText = _IEBodyReadText($oIE)
ConsoleWrite($sText)

ERROR:

C:\Program Files (x86)\AutoIt3\Include\IE.au3 (301) : ==> The requested action with this object has failed.:
$o_object.navigate($s_Url)
$o_object.navigate($s_Url)^ ERROR

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by DaleHohm@…

This is not an issue with IE.au3 or with AutoIt, but is caused by a change in behaviour in Internet Explorer introduced with security update 832894. This causes the username:password@ syntax to no longer be valid for IE.

See http://support.microsoft.com/default.aspx?scid=kb;en-us;834489, Internet Explorer does not support user names and passwords in Web site addresses (HTTP or HTTPS URLs)

The article explains workarounds including registry values that can be set to revert this behaviour for a user or a system.

Dale

comment:2 Changed 10 years ago by Jpm

  • 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.