aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d22ca4e39..91e8d3759 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);