Closed Bug 191551 Opened 22 years ago Closed 22 years ago

Prompted for password on protected images in page even when username:password is already specified in the image URL

Categories

(Core :: Networking: HTTP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 190854

People

(Reporter: robertw, Assigned: darin.moz)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20030131 Phoenix/0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20030131 Phoenix/0.5 When referencing password protected images from a HTML document, Mozilla incorrectly prompts for the password on some images, even though the username:password is already specified in the image URLs. Reproducible: Always Steps to Reproduce: 1. Stick a few images up on a server with password protection (basic auth). 2. Create a HTML document locally or remote that contains <img> tags with the URLs containing the username:password@ syntax. 3. Load the HTML page in Mozilla. Actual Results: Mozilla asks for a password on around 1/2 of the images in the HTML document that are password protected. Weird! Expected Results: Load the images without prompting for passwords it already has in the HTML. Visit http://www.wojo.com/phoenix/protected_images/ to see this bug in action. The HTML for the page contains the folowing: <img src="http://test:test@www.wojo.com/phoenix/protected_images/images/aim.gif" border="0"> <img src="http://test:test@www.wojo.com/phoenix/protected_images/images/icq.gif" border="0"> <img src="http://test:test@www.wojo.com/phoenix/protected_images/images/msn.gif" border="0"> <img src="http://test:test@www.wojo.com/phoenix/protected_images/images/yahoo.gif" border="0"> Notice it doesn't load images 2 & 3 without asking for a password.
*** This bug has been marked as a duplicate of 190854 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.