Open Bug 175344 Opened 22 years ago Updated 2 years ago

|GetFileExtension| on news url returns unexpected results

Categories

(MailNews Core :: Networking, defect)

defect

Tracking

(Not tracked)

People

(Reporter: peterlubczynski-bugs, Unassigned)

References

()

Details

This is from bug 169991 which attempted to use |GetFileExtension| on an URL. For
news URLS it returned "au" which doesn't seem to be the right thing.
do news:// URLs ever have valid file extensions?  i don't know the complete
syntax off the top of my head, but i've never seen a news:// URL which contained
a file path.  this kind of bad-parsing could easily screw up other things down
the road.
Severity: normal → major
Keywords: mozilla1.3
A news url can refer to a specific attachment, IIRC, and the attachment could
have a file name, I suppose.

Thats unlikly to be whats happening here, though. I suspet that the mailnews url
imp just needs to override GetFileExtention.
Product: MailNews → Core
Assignee: mscott → nobody
QA Contact: stephend → mailnews.networking
Product: Core → MailNews Core
Severity: major → normal
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.