mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
bug 225695 : follow-up to bug 44272. tree-wide sweep to replace escape/unescape() with en|decodeURI(Component). part 2(mail/mailnews) of 3. r=neil, sr=bienvenu, a=asa
This commit is contained in:
parent
e451442daf
commit
8b6e23db26
@ -68,7 +68,7 @@
|
||||
.getService(Components.interfaces.nsIExternalProtocolService);
|
||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
||||
.getService(Components.interfaces.nsIIOService);
|
||||
var mailto = url ? "mailto:?body="+escape(url)+"&subject="+escape(title) : "mailto:";
|
||||
var mailto = url ? "mailto:?body="+encodeURIComponent(url)+"&subject="+encodeURIComponent(title) : "mailto:";
|
||||
var uri = ioService.newURI(mailto, null, null);
|
||||
|
||||
extProtocolSvc.loadUrl(uri);
|
||||
|
Loading…
Reference in New Issue
Block a user