Closed Bug 493221 Opened 15 years ago Closed 15 years ago

"URL Not Valid" alert opening message with invalid Content-Base header

Categories

(Thunderbird :: Message Reader UI, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jeff, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.10 (KHTML, like Gecko) Chrome/2.0.181.0 Safari/530.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b5pre) Gecko/20090515 Lightning/1.0pre Shredder/3.0b3pre

When opening up my daily accuweather.com alert forecast e-mail, it displays the body for a second and then immediately gives an invalid url message.

Reproducible: Always

Steps to Reproduce:
1.  Open E-mail From accuweather.com
2.  The body will display for a second and then give an invalid url message.
3.
Actual Results:  
The message was not viewable.

Expected Results:  
The body of the message should have stayed in the window.
I am including a copy of the e-mail.  I have removed any personal information from the headers.
Content-type: text/html; charset=us-ascii
Content-Disposition: inline; filename="accuwx.htm"

You can see it if you turn on View | Show attachments inline
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
I already have View | Show attachments inline and I am unable to view the attachment.  I have always had that setting on, and I have been able to see this daily e-mail until about 3 weeks ago.  At that time I started to receive the error message:

The URL is not valid and cannot be loaded.
I don't know why you would get that message by *only* reading a mail. When exactly do you get it? 

The mail displays fine for me (with inline attachments showing). 

Have you disabled all extension? (thunderbird.exe -safe-mode)
I get it within 1-2 seconds after the window opens.  It says Loading Message in the status line.

I just tried it in safe-mode, and the mail displays correctly in the preview pane, but not when I open up the message in a new window.  I don't use the preview pane normally.  I double click on each message and open them up in a new window.

I have also been tracking bug number 486954.  I think this problem started right about the time that bug was closed.  Any relation or just a coincidence?
I guess it's possible bug 486954 could affect it somehow. You could always try a build from the day before it.
Okay, so I was incorrect in regards to bug 486954.  Also, it does not appear to be related to bug 182627 either.

The e-mail loads up correctly with build:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b5pre) Gecko/20090501 Lightning/1.0pre Shredder/3.0b3pre

But, beginning with build:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b5pre) Gecko/20090502 Lightning/1.0pre Shredder/3.0b3pre

it no longer displays.  I am going to open this bug back up.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
I am not a programmer so I have no idea what those changesets mean or what I am looking at.  But, looking through them, I would guess that the following is what created the problem.  But, it is strictly a guess on my part.

bug 438429: meta bug to fix several RSS Summary/Web Page bugs; r=standard8, sr=bienvenu
author	Myk Melez
Fri May 01 11:27:15 2009 -0700 (at Fri May 01 11:27:15 2009 -0700)
changeset 2520	ed1011d1e791
parent 2519	84d75e481b54
child 2521	6aedf9644c2d
pushlog:	ed1011d1e791
bug 438429: meta bug to fix several RSS Summary/Web Page bugs; r=standard8, sr=bienvenu
Yup, I see this too on linux. I verified this is a regression from bug 438429.
Blocks: 438429
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows Vista → All
Hardware: x86 → All
Summary: Accuweather.com Alert Forecast E-mail Closes With URL Not Valid → "URL Not Valid" alert opening Accuweather.com Forecast E-mail in standalone msg window
this is due to:

Content-Base: "http://www.accuweather.com"

the issue is how to identify a feed message, whether it is in the News (feed) folder or not (copied/moved), and content-base is used for historical rss reasons.  so apparently this email sender adds the Content-Base header thus feed is assumed, yet it is not a feed.  per rfc, i think content-base is sort of free form.

if pref rss.show.content-base is set to 1 (global option show feed summary in new window) this may be avoided, but is not a real solution.
actually, the real reason for the error alert (the web page would just be loaded even though it's not a feed) is the malformed url due to the double quotes...

so unless Tb is going to scrub urls in content-base, this is an error on accuweather's part.

the default value for the above pref should be set to 1 or 2 to minimize bad url issues in general, and avoid unexpected behavior for the rare non feed msg.
Summary: "URL Not Valid" alert opening Accuweather.com Forecast E-mail in standalone msg window → "URL Not Valid" alert opening message with invalid Content-Base header
This is now WFM, likely due to bug 522645.
Status: NEW → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: