зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1452908 - Fix the about:blocked link while checking Safe Browsing site status. r=johannh
Fix the about:blocked link while checking Safe Browsing site status. Differential Revision: https://phabricator.services.mozilla.com/D7410 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
435e84add2
Коммит
c7dc860142
|
@ -75,7 +75,7 @@ class BlockedSiteChild extends ActorChild {
|
||||||
let desc = Services.prefs.getCharPref(
|
let desc = Services.prefs.getCharPref(
|
||||||
"browser.safebrowsing.provider." + provider + ".reportURL", "");
|
"browser.safebrowsing.provider." + provider + ".reportURL", "");
|
||||||
if (desc) {
|
if (desc) {
|
||||||
doc.getElementById("error_desc_link").setAttribute("href", desc + aEvent.detail.url);
|
doc.getElementById("error_desc_link").setAttribute("href", desc + encodeURIComponent(aEvent.detail.url));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set other links in error details.
|
// Set other links in error details.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче