Open Bug 95114 Opened 23 years ago Updated 2 years ago

Need to escape special chars in a folder url

Categories

(MailNews Core :: Backend, defect)

All
Windows NT
defect

Tracking

(Not tracked)

People

(Reporter: cavin, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

This is to track the better solution mentioned in #48825. The issue applies to 
all folders (local, imap, etc). So the following url:

imap://uwtest@sspitzer.mcom.com/#ftp/pub/bug48825

should really be:

imap://uwtest@sspitzer.mcom.com/%23ftp/pub/bug48825

So that when we append the msg id to the url we only have one '#" in the entire 
string:

imap://uwtest@sspitzer.mcom.com/%23ftp/pub/bug48825#2
Product: MailNews → Core
For storage in prefs.js and localstore.rdf, mailbox: URIs are escaped properly but imap: URIs (at least in prefs) are not.  Bug 84045 is for the IMAP case.

However, when you use "Copy Folder Location", imap: URIs are escaped properly in the clipboard and mailbox: URIs are not -- just the opposite.

I see the above with TB 1.5, Windows 2000.
Summary: Need to ecsape special chars in a folder url → Need to escape special chars in a folder url
(In reply to comment #1)
> For storage in prefs.js and localstore.rdf, mailbox: URIs are escaped properly
> but imap: URIs (at least in prefs) are not.  Bug 84045 is for the IMAP case.

should this be marked depens on bug 84045?
Assignee: cavin → nobody
Depends on: 84045
QA Contact: esther → backend
Product: Core → MailNews Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.