diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2003-09-14 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/mozilla-embed-single.cpp: (mozilla_set_default_prefs): + + Don't allow remote content to load stuff off of file:// uris. + 2003-09-11 Christian Persch <chpe@cvs.gnome.org> * configure.in: diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 3a296f20a..c7b0aa246 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -330,7 +330,7 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes) /* set default search engine */ pref->SetCharPref ("keyword.URL", "http://www.google.com/search?q="); pref->SetBoolPref ("keyword.enabled", PR_TRUE); - pref->SetBoolPref ("security.checkloaduri", PR_FALSE); + pref->SetBoolPref ("security.checkloaduri", PR_TRUE); /* dont allow xpi installs from epiphany, there are crashes */ pref->SetBoolPref ("xpinstall.enabled", PR_FALSE); |