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

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


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Jun  1 15:09:06 2013 +0200

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

---

 help/appdb_faq.help             |    2 +-
 help/generic.help               |   10 +++++-----
 help/maintainer_guidelines.help |    2 +-
 include/header.php              |   14 +++++++-------
 include/testData.php            |    4 ++--
 index.php                       |    2 +-
 utils.js                        |    2 +-
 7 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/help/appdb_faq.help b/help/appdb_faq.help
index bc66693..f063867 100644
--- a/help/appdb_faq.help
+++ b/help/appdb_faq.help
@@ -38,7 +38,7 @@ allowing many unmodified Windows binaries to run on x86-based Unixes, including
 <a href="http://wwws.sun.com/software/solaris/">Solaris</a>.</p>
 
 <p>More information can be found at the
-<a href="http://www.winehq.org/site/docs/wine-faq/index" style="cursor: help">Wine FAQ</a>.<p>
+<a href="//www.winehq.org/site/docs/wine-faq/index" style="cursor: help">Wine FAQ</a>.<p>
 </blockquote>
 
 <p><b>Q: What are the benefits of this Application Database?</b></p>
diff --git a/help/generic.help b/help/generic.help
index 64afbb2..f42054a 100644
--- a/help/generic.help
+++ b/help/generic.help
@@ -8,10 +8,10 @@ for a certain program hasn't been created.</center>
 <li> Make sure your Wine release is recent.<p>
 
   <ul>
-    <li><a href="http://www.winehq.org/site/download"> Official WineHQ builds</a>
+    <li><a href="//www.winehq.org/site/download"> Official WineHQ builds</a>
           for all the popular platforms and distributions, hosted by 
        <a href="http://sourceforge.net/project/showfiles.php?group_id=6241">SourceForge.net</a>.</li>
-    <li>Consult <a href="http://www.winehq.org/site/git">the git instructions</a> for information on obtaining the latest source.  
+    <li>Consult <a href="//www.winehq.org/site/git">the git instructions</a> for information on obtaining the latest source.  
      <p>For how to build and install Wine via source consult the README or for building Wine on a 64bit GNU/Linux read over the 
        <a href="http://wiki.winehq.org/WineOn64bit">WineOn64bit wiki entry</a>.</li>
   </ul>
@@ -42,11 +42,11 @@ dll overrides.<p>
 <li><p> For sound problems, run ‘winecfg’ and look at the audio tab.</li>
 
 <li><p> In case of persisting failure, you may want to read over the
-<a href="http://www.winehq.org/site/documentation">Wine Documentation</a>
+<a href="//www.winehq.org/site/documentation">Wine Documentation</a>
 and you may also want to read the
-<a href="http://www.winehq.org/site/docs/wine-faq/index">Wine FAQ</a>.</li>
+<a href="//www.winehq.org/site/docs/wine-faq/index">Wine FAQ</a>.</li>
 
-<li><p> The Wine <a href="http://www.winehq.org/site/getting_help">'Getting Help'</a> page shows the current methods of getting help with Wine.</li>
+<li><p> The Wine <a href="//www.winehq.org/site/getting_help">'Getting Help'</a> page shows the current methods of getting help with Wine.</li>
 
 <li><p> If you have more questions, please contact us
 at <a href="mailto:appdb at winehq.org">appdb at winehq.org</a>.</li>
diff --git a/help/maintainer_guidelines.help b/help/maintainer_guidelines.help
index 6293057..10cc74c 100644
--- a/help/maintainer_guidelines.help
+++ b/help/maintainer_guidelines.help
@@ -16,7 +16,7 @@ You are expected to:
 <ul>
 <li>Keep the application comments clean, all stale data should be removed</li>
 <li>Be an active user of that application and version</li>
-<li>Keep up-to-date with all Wine releases, if there are regressions they should filed as bugs in <a href="http://bugs.winehq.org">Bugzilla</a> if there are not bugs already filed.</li>
+<li>Keep up-to-date with all Wine releases, if there are regressions they should filed as bugs in <a href="//bugs.winehq.org">Bugzilla</a> if there are not bugs already filed.</li>
 </ul>
 
 You will:
diff --git a/include/header.php b/include/header.php
index 2eeb779..73cafda 100644
--- a/include/header.php
+++ b/include/header.php
@@ -21,7 +21,7 @@
     <link rel="stylesheet" href="<?php echo BASE; ?>apidb.css" type="text/css">
     <link rel="stylesheet" href="<?php echo BASE; ?>application.css" type="text/css">
     <script type="text/javascript" 
-    src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>
+    src="//ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>
     <script src="<?php echo BASE; ?>scripts.js" type="text/javascript"></script>
     <link rel="icon" type="image/png" href="<?php echo BASE; ?>images/winehq_logo_16.png">
     <link rel="shortcut icon" type="image/png" href="<?php echo BASE; ?>images/winehq_logo_16.png">
@@ -35,22 +35,22 @@
 <div id="logo_blurb"><?php echo preg_replace("/^ - /", "", $title); ?></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 class="s"><a href="http://appdb.winehq.org/">AppDB</a></li>
-        <li><a href="http://bugs.winehq.org/">Bugzilla</a></li>
-        <li><a href="http://forums.winehq.org/">Forums</a></li>
+        <li class="s"><a href="//appdb.winehq.org/">AppDB</a></li>
+        <li><a href="//bugs.winehq.org/">Bugzilla</a></li>
+        <li><a href="//forum.winehq.org/">Forums</a></li>
     </ul>
 </div>
 
diff --git a/include/testData.php b/include/testData.php
index 5b6f1cb..a3413db 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -915,7 +915,7 @@ class testData{
         echo '<tr><td class=color1><b>Tested release</b></td><td class=color0>',"\n";
         echo make_bugzilla_version_list("sTestedRelease", $this->sTestedRelease);
         // Give the user some information about our available versions
-        echo "<span>Version not listed?  Your Wine is too old, <a href=\"http://winehq.org/download\">upgrade!</a></span>";
+        echo "<span>Version not listed?  Your Wine is too old, <a href=\"//winehq.org/download\">upgrade!</a></span>";
         echo '</td></tr>',"\n";
 
         // Installs
@@ -1516,7 +1516,7 @@ class testData{
         echo "what was working on a particular release of Wine.</p>\n";
         echo "<p><b>Please DO NOT include crash or Wine debug output.\n";
         echo " Instead report the crash as a bug in the Wine bugzilla at \n";
-        echo "<a href=\"http://bugs.winehq.org\">http://bugs.winehq.org</a>.\n";
+        echo "<a href=\"//bugs.winehq.org\">bugs.winehq.org</a>.\n";
         echo "We ask that you use bugzilla because developers do not monitor the AppDB \n";
         echo "for bugs.</b></p>\n"; 
         echo "<p>Please be as detailed as you can but do not paste large \n";
diff --git a/index.php b/index.php
index 147045f..5e22008 100644
--- a/index.php
+++ b/index.php
@@ -163,7 +163,7 @@ echo "<tr>\n";
 echo "<td style='padding:10px;'>\n";
 echo '<a href="http://getfirefox.com/"
 	title="Get Firefox - Web browsing redefined."><img
-	src="http://www.mozilla.org/products/firefox/buttons/getfirefox_large2.png"
+	src="//www.mozilla.org/products/firefox/buttons/getfirefox_large2.png"
 	width="178" height="60" border="0" alt="Get Firefox"></a>'."\n";
 echo "</td>\n";
 echo "<td style='padding:10px;'>\n";
diff --git a/utils.js b/utils.js
index 8d95972..24d5806 100644
--- a/utils.js
+++ b/utils.js
@@ -14,7 +14,7 @@ function include_dom (script_filename) {
 }
 
 // load and execute jquery IE6 PNG fix
-include_dom("jquery.pngfix.js");
+include_dom("/jquery.pngfix.js");
 jQuery(function($) {
     $("img[@src$=png]").pngfix(); /* all img tags with .png extension */
     $("#tabs li").pngfix(); /* top tabs li backgrounds */




More information about the wine-cvs mailing list