Open Bug 286471 Opened 19 years ago Updated 2 years ago

Attaching URL protected with Basic auth fails, 401 page attached instead

Categories

(MailNews Core :: Attachments, defect)

x86
Linux
defect

Tracking

(Not tracked)

People

(Reporter: bugzilla.mozilla.org-3, Unassigned)

Details

Steps to reproduce:
1. Compose a new email
2. Fill out the recipient email address and the subject
3. Choose Attach -> Web Page
4. Enter the URL to a page that is protected with HTTP Basic Authentication
5. Send the email

Expected result:
Thunderbird should prompt for a username and password and send the password
protected page. If the server does not accept the credentials, i.e. if it sends
another 401 Authentication Required response, the sending should be aborted.

Actual result:
Thunderbird attaches the 401 error page. The user isn't informed that something
went wrong a may not notice the error.


If I want to show somebody a specific page, I would usually send them the URL
instead of attaching the page. But if I know that the recipient doesn't have
access to the specific URL, I would attach the page instead.  So when attaching
password protected pages doesn't work, the "attach web page" feature isn't that
useful to me.


I am using a fresh CVS trunk build.
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: attachments
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.