mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
fixed bug 22918 - cannot send page with url contains spaces; needs to escape the url; r=rhp
This commit is contained in:
parent
1d1d7c9022
commit
543a379987
@ -1204,7 +1204,7 @@ function RevealSearchPanel()
|
||||
function BrowserSendPage(pageUrl, pageTitle)
|
||||
{
|
||||
window.openDialog( "chrome://messengercompose/content/", "_blank", "chrome,all,dialog=no",
|
||||
"attachment=" + pageUrl + ",body=" + pageUrl + ",subject='" + pageTitle + "'");
|
||||
"attachment=" + escape(pageUrl) + ",body=" + pageUrl + ",subject='" + pageTitle + "'");
|
||||
}
|
||||
|
||||
function BrowserViewSource()
|
||||
|
Loading…
Reference in New Issue
Block a user