Alexandre Julliard : Don' t specify protocol in URLs in order to support https.

Alexandre Julliard julliard at winehq.org
Sat Jun 1 08:56:03 CDT 2013


Module: bugzilla
Branch: master
Commit: d842f24757ef84580117fb62090b1dc4f8f969da
URL:    http://source.winehq.org/git/bugzilla.git/?a=commit;h=d842f24757ef84580117fb62090b1dc4f8f969da

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Jun  1 14:08:57 2013 +0200

Don't specify protocol in URLs in order to support https.

---

 template/en/default/account/create.html.tmpl       |    2 +-
 .../en/default/bug/create/user-message.html.tmpl   |    2 +-
 template/en/default/bug/edit.html.tmpl             |    6 +++---
 template/en/default/global/banner.html.tmpl        |   12 ++++++------
 template/en/default/index.html.tmpl                |    6 +++---
 template/en/default/list/table.html.tmpl           |    4 ++--
 6 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/template/en/default/account/create.html.tmpl b/template/en/default/account/create.html.tmpl
index 1e7130c..6117548 100644
--- a/template/en/default/account/create.html.tmpl
+++ b/template/en/default/account/create.html.tmpl
@@ -53,7 +53,7 @@
 <h4>Remember...</h4>
 <ul>
   <li>Avoid posting requests such as, "please fix this, I really need it to work"</li>
-  <li>Use the <a href="http://forum.winehq.org">forum</a> or <a href="irc://irc.freenode.net/#winehq">IRC channel</a> for troubleshooting advice or general help.</li>
+  <li>Use the <a href="//forum.winehq.org">forum</a> or <a href="irc://irc.freenode.net/#winehq">IRC channel</a> for troubleshooting advice or general help.</li>
   <li>Describe the problem's symptoms, not your guesses</li>
 </ul>
 
diff --git a/template/en/default/bug/create/user-message.html.tmpl b/template/en/default/bug/create/user-message.html.tmpl
index 6ae3d66..7daaa6f 100644
--- a/template/en/default/bug/create/user-message.html.tmpl
+++ b/template/en/default/bug/create/user-message.html.tmpl
@@ -37,4 +37,4 @@
  <li><a href="query.cgi">search</a> for the [% terms.bug %] to avoid submitting a duplicate report</li>
  <li>run a <a href="http://wiki.winehq.org/RegressionTesting">regression test</a> <b>before</b> submitting a bug report about a regression</li>
 </ul>
-<h4>If in doubt - visit the <a href="http://forum.winehq.org">forum</a> or <a href="irc://irc.freenode.net/#winehq">IRC</a> to ask for help.</h4>
+<h4>If in doubt - visit the <a href="//forum.winehq.org">forum</a> or <a href="irc://irc.freenode.net/#winehq">IRC</a> to ask for help.</h4>
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 8576189..f218e42 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -331,7 +331,7 @@
         <b>AppDB</b>:
       </td>
       <td>
-        <a href="http://appdb.winehq.org/viewbugs.php?bug_id=[% bug.bug_id FILTER html %]">Show
+        <a href="//appdb.winehq.org/viewbugs.php?bug_id=[% bug.bug_id FILTER html %]">Show
         Apps affected by this bug</a>
       </td>  
     </tr>
@@ -926,12 +926,12 @@
     <tr>
       [% IF field.name == 'cf_regression_sha1sum' && bug.${field.name} %]
       [% PROCESS bug/field.html.tmpl value = bug.${field.name}
-                                     desc_url = "http://source.winehq.org/git/wine.git/commit/${bug.cf_regression_sha1sum}"
+                                     desc_url = "//source.winehq.org/git/wine.git/commit/${bug.cf_regression_sha1sum}"
                                      editable = bug.check_can_change_field(field.name, 0, 1)
                                      value_span = 2 %]
       [% ELSIF field.name == 'cf_fixedby_sha1sum' && bug.${field.name} %]
       [% PROCESS bug/field.html.tmpl value = bug.${field.name}
-                                     desc_url = "http://source.winehq.org/git/wine.git/commit/${bug.cf_fixedby_sha1sum}"
+                                     desc_url = "//source.winehq.org/git/wine.git/commit/${bug.cf_fixedby_sha1sum}"
                                      editable = bug.check_can_change_field(field.name, 0, 1)
                                      value_span = 2 %]
       [% ELSE %]
diff --git a/template/en/default/global/banner.html.tmpl b/template/en/default/global/banner.html.tmpl
index 5f6f29b..7b41aff 100644
--- a/template/en/default/global/banner.html.tmpl
+++ b/template/en/default/global/banner.html.tmpl
@@ -33,22 +33,22 @@
 </div>
 
 <div id="search_box">
-  <form action="http://www.winehq.org/search" id="cse-search-box" style="margin: 0; padding: 0;">
+  <form action="//www.winehq.org/search" id="cse-search-box" style="margin: 0; padding: 0;">
     <input type="hidden" name="cx" value="partner-pub-0971840239976722:w9sqbcsxtyf">
     <input type="hidden" name="cof" value="FORID:10">
     <input type="hidden" name="ie" value="UTF-8">
     <span style="color: #ffffff;">Search:</span> <input type="text" name="q" size="20">
   </form>
-  <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
+  <script type="text/javascript" src="//www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
 </div>
 
 <div id="tabs">
     <ul>
-        <li><a href="http://www.winehq.org/">WineHQ</a></li>
+        <li><a href="//www.winehq.org/">WineHQ</a></li>
         <li><a href="http://wiki.winehq.org/">Wiki</a></li>
-        <li><a href="http://appdb.winehq.org/">AppDB</a></li>
-        <li class="s"><a href="http://bugs.winehq.org/">Bugzilla</a></li>
-        <li><a href="http://forums.winehq.org/">Forums</a></li>
+        <li><a href="//appdb.winehq.org/">AppDB</a></li>
+        <li class="s"><a href="//bugs.winehq.org/">Bugzilla</a></li>
+        <li><a href="//forum.winehq.org/">Forums</a></li>
     </ul>
 </div>
 
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index 88b535e..da520e7 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -186,15 +186,15 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
     <p>The bugs we are currently working on are organized into Task lists.</p>
     
     <ol class="wine_index_list">
-      <li><a href="http://bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Wine&target_milestone=1.6.0&order=bugs.bug_severity">Wine 1.6</a><br>
+      <li><a href="//bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Wine&target_milestone=1.6.0&order=bugs.bug_severity">Wine 1.6</a><br>
       These bugs are scheduled to be fixed before Wine 1.6 is released.
       </li>
 
-      <li><a href="http://bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Wine&columnlist=bug_severity,priority,bug_status,cf_regression_sha1sum,short_desc&keywords=regression&keywords_type=anywords">Regressions</a><br>
+      <li><a href="//bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Wine&columnlist=bug_severity,priority,bug_status,cf_regression_sha1sum,short_desc&keywords=regression&keywords_type=anywords">Regressions</a><br>
       Bugs introduced as result of a regression.
       </li>
 
-      <li><a href="http://bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Wine&keywords=download&keywords_type=anywords">With download</a><br>
+      <li><a href="//bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Wine&keywords=download&keywords_type=anywords">With download</a><br>
       Bugs in downloadable Applications.
       </li>
 
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index be4aca6..db5e3af 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -212,10 +212,10 @@
           [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
         </a>
       [% ELSIF column == 'cf_regression_sha1sum' && bug.cf_regression_sha1sum %]
-        <a href="http://source.winehq.org/git/wine.git/commit/[% bug.cf_regression_sha1sum FILTER html %]">
+        <a href="//source.winehq.org/git/wine.git/commit/[% bug.cf_regression_sha1sum FILTER html %]">
           [% bug.cf_regression_sha1sum.truncate(16) FILTER html %]</a>
       [% ELSIF column == 'cf_fixedby_sha1sum' && bug.cf_fixedby_sha1sum %]
-        <a href="http://source.winehq.org/git/wine.git/commit/[% bug.cf_fixedby_sha1sum FILTER html %]">
+        <a href="//source.winehq.org/git/wine.git/commit/[% bug.cf_fixedby_sha1sum FILTER html %]">
           [% bug.cf_fixedby_sha1sum.truncate(16) FILTER html %]</a>
       [% ELSE %]
         [%- display_value(column, bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]




More information about the wine-cvs mailing list