Closed Bug 260561 Opened 21 years ago Closed 21 years ago

RSS feeds don't get added if URL contains trailing whitespace

Categories

(MailNews Core :: Feed Reader, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: adam, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 In the 'Manage Subscriptions' dialog, adding a URL with the 'Add' button hangs while 'Verifying the feed...' if the URL pasted into the 'Feed URL' field contains whitespace at the end. There is usually whitespace in the URL if I've copied it from an email message. Reproducible: Always Steps to Reproduce: 1. Right-click on the RSS Account 2. Select 'Manage Subscriptions' 3. Click the 'Add' button 4. In the 'Feed URL' field, enter a valid RSS URL, but add a space on the end 5. Click 'OK' 6. Wait....... Actual Results: The 'RSS Subscriptions' dialog sits, displaying 'Verifying the feed' until I hit the 'OK' button which asks if I want to cancel the operation. Expected Results: Stripped the whitespace from the URL and added the feed. Either that or display an error message that the feed URL is incorrect.
Confirmed with TB 0.8, Win2K.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch the fixSplinter Review
strip leading & trailing white space out of the url
fixed branch and trunk
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird1.0
vrfy'd fixed with 200412010x-0.9 on linux fc2 and mac os x 10.3.6.
Status: RESOLVED → VERIFIED
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Target Milestone: Thunderbird1.0 → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: