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



MailNews Core
13 years ago
10 years ago


(Reporter: Christian Schmidt, Unassigned)


Firefox Tracking Flags

(Not tracked)




13 years ago
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


10 years ago
QA Contact: attachments


10 years ago
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.