Open Bug 553027 Opened 14 years ago Updated 2 years ago

Authentication error on URL passed authentication in img tag with multiple images.

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: thittesd0375, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)

If a page has multiple img tags with URLs that contain authentication information(i.e. <img src="http://user:pass@mysite/img.gif" />) the user will be prompted for credentials for the second img.

Reproducible: Always

Steps to Reproduce:
1. Open web page
2. Receive credentials prompt
3. Click cancel
Actual Results:  
First authenticated image is displayed, second is not.

Expected Results:  
Both images are displayed.

Bug first reported this week.
Version: unspecified → 3.6 Branch
Reporter -> Are you still experiencing this issue? Do you have an example URL where this happens?
(In reply to comment #1)
> Reporter -> Are you still experiencing this issue? Do you have an example URL
> where this happens?

Continues to be an issue in the current version.  Our site is not public facing but the code would be similar to:

<img width="500" vspace="10" height="135" align="TOP" alt="day" src="http://user:pass@myserver.net/mrtg/6197-aal5_layer-day.gif">
<img width="500" vspace="10" height="135" align="TOP" alt="day" src="http://user:pass@myserver.net/mrtg/6178-aal5_layer-day.gif">

Where if only one of these images was on a page it would display without prompting for credentials.  If there are two of these img tags on a page, it will prompt for credentials for the second one.  If you cancel the credential prompt it will display the first image but not the second.
Reporter -> Are you still experiencing this issue with the latest version of Firefox 6? Does the issue occur with the latest nightly? http://nightly.mozilla.org/
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.