img src="" does not authenticate when page was loaded as file

RESOLVED WORKSFORME

Status

()

Core
Networking: HTTP
RESOLVED WORKSFORME
16 years ago
6 years ago

People

(Reporter: Jeff Wilson, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; AIX 000C529D4C00; en-US; rv:0.9.9) Gecko/20020313
BuildID:    2002031407

If I load an html page as a "file://" URL, which contains an image reference to
an image that is on a server requiring authentication, and I have not already
authenticated to that server, the image does not display.  Netscape 4.7 asks for
authentication when the page is loaded.
If the page is on the server, Mozilla authenticates correctly.  If I am already
authenticated to that server in this session, the image is displayed fine.

I only have Mozilla on AIX, but this does not seem to be a platform-specific
problem.


Reproducible: Always
Steps to Reproduce:
1. create a page with a reference to an image on a server, requring authentication.
2. in a Mozilla session that is NOT authenticated to the server, load that page
as a "file://" URL
3. image is not displayed

Actual Results:  image not loaded

Expected Results:  ask for userid & password, load the image
->security
Assignee: attinasi → mstoltz
Component: Layout → Security: General
QA Contact: petersen → bsharma
Um, no.  This is HTTP netrworking.  The problem is that I think we do BasicAuth
on images via the loadgroup and that somehow breaks here....
Assignee: mstoltz → darin
Status: UNCONFIRMED → NEW
Component: Security: General → Networking: HTTP
Ever confirmed: true
QA Contact: bsharma → tever

Comment 3

16 years ago
mass futuring of untargeted bugs
Target Milestone: --- → Future

Comment 4

12 years ago
-> default owner
Assignee: darin → nobody
QA Contact: tever → networking.http
Target Milestone: Future → ---
wfm with Seamonkey trunk on win7
I moved the file http://matti.no-ip.org/test.html to the local file system and loaded it. I got a basic auth window and the image laoded after entering the login data
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.