[epiphany] Use HTTPS for DDG and Google searches by default



commit 4b80445233471e4fd9f92b59fcf0e213e4d631bf
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Jan 8 08:54:41 2014 -0600

    Use HTTPS for DDG and Google searches by default
    
    Change the default bookmarks, the gschema, and the search engine options
    in the preferences dialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707694

 data/default-bookmarks.rdf.in       |   12 ++++++------
 data/org.gnome.epiphany.gschema.xml |    2 +-
 src/prefs-dialog.c                  |    4 ++--
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/default-bookmarks.rdf.in b/data/default-bookmarks.rdf.in
index 3d983f0..90930bc 100644
--- a/data/default-bookmarks.rdf.in
+++ b/data/default-bookmarks.rdf.in
@@ -5,11 +5,11 @@
     <link>https://wiki.gnome.org/Apps/Web</link>
     <items>
       <rdf:Seq>
-        <rdf:li rdf:resource="http://duckduckgo.com"/>
+        <rdf:li rdf:resource="https://duckduckgo.com"/>
       </rdf:Seq>
     </items>
   </channel>
-  <item rdf:about="http://duckduckgo.com";>
+  <item rdf:about="https://duckduckgo.com";>
     <_title>Search the web</_title>
     <!-- Translators: you can use the regions listed in
          https://duckduckgo.com/params to boost a particular region
@@ -20,9 +20,9 @@
          duckduckgo must be translated. So, for a Finnish localized
          version of duckduckgo that will render results tailored for
          Finland, the string would be:
-         http://duckduckgo.com/?t=epiphany&amp;kl=fi-fi&amp;kad=fi_FI
+         https://duckduckgo.com/?t=epiphany&amp;kl=fi-fi&amp;kad=fi_FI
     -->
-    <_link>http://duckduckgo.com/?t=epiphany</_link>
+    <_link>https://duckduckgo.com/?t=epiphany</_link>
     <!-- Translators: you can use the regions listed in
          https://duckduckgo.com/params to boost a particular region
          associated with your language. For instance, for translators
@@ -31,7 +31,7 @@
          'kad' parameter can be used to specify the locale in which
          duckduckgo must be translated. For such case, the search url
          would be
-         http://duckduckgo.com/?q=%s&amp;t=epiphany&amp;kl=fi-fi&amp;kad=fi_FI -->
-    <_ephy:smartlink>http://duckduckgo.com/?q=%s&amp;t=epiphany</_ephy:smartlink>
+         https://duckduckgo.com/?q=%s&amp;t=epiphany&amp;kl=fi-fi&amp;kad=fi_FI -->
+    <_ephy:smartlink>https://duckduckgo.com/?q=%s&amp;t=epiphany</_ephy:smartlink>
   </item>
 </rdf:RDF>
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index e80e826..8c879f8 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -17,7 +17,7 @@
                             test this. Should ideally also match the default smart bookmark link in
                             default-bookmarks.rdf. See the comment there for region parameters to
                             the URL. -->
-                       <default l10n="messages">'http://duckduckgo.com/?q=%s&amp;t=epiphany'</default>
+                       <default l10n="messages">'https://duckduckgo.com/?q=%s&amp;t=epiphany'</default>
                        <summary>URL Search</summary>
                        <description>Search string for keywords entered in the URL bar.</description>
                </key>
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index fa19304..a079759 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1013,11 +1013,11 @@ search_engine_combo_add_default_engines (GtkListStore *store)
                                                * you chose in the gschema, but with & instead of &amp;
                                                * If the match is not exact, there will be a spurious, ugly
                                                * entry in the preferences combo, so please test this. */
-                                              N_("http://duckduckgo.com/?q=%s&t=epiphany";)},
+                                              N_("https://duckduckgo.com/?q=%s&t=epiphany";)},
                                             /* Search engine option in the preferences dialog */
                                             { N_("Google"),
                                               /* For the preferences dialog. Consider a regional variant, 
like google.co.uk */
-                                              N_("http://google.com/search?q=%s";)},
+                                              N_("https://google.com/search?q=%s";)},
                                             /* Search engine option in the preferences dialog */
                                             { N_("Bing"),
                                               /* For the preferences dialog. Consider a regional variant, 
like uk.bing.com */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]