mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +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
0f57cbe8bd
commit
b4421f4fb4
@ -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