www: f6ffcb55: Looks like these URLs have a "/download"..

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Feb 21 01:05:33 EST 2012


----------------------------------------------------------------------
Revision: f6ffcb55d988ef0748ca5aeac21753298a76bad9
Parent:   aeadeb8e23122e4dfa9433fdff7bbe99188c27ed
Author:   markdoliner at pidgin.im
Date:     02/21/12 01:01:28
Branch:   im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/f6ffcb55d988ef0748ca5aeac21753298a76bad9

Changelog: 

Looks like these URLs have a "/download" on the end of them now.
The old URL does a 302 redirect to the new one.  This shouldn't
affect any functionality, but it does avoid an extra HTTP hop
for users downloading files via our links.

Changes against parent aeadeb8e23122e4dfa9433fdff7bbe99188c27ed

  patched  htdocs/download/mac/index.php
  patched  htdocs/download/source/index.php
  patched  htdocs/download/windows/index.php
  patched  inc/blurb.downloaddetect.inc

-------------- next part --------------
============================================================
--- htdocs/download/source/index.php	20305819f1f5f0fe4c884c9ace4940517a2ac091
+++ htdocs/download/source/index.php	875d91dca8c6f993781c1b1aec98f63f28f0ff5f
@@ -20,7 +20,7 @@
 
 <div class="box_download">
 
-<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2"
+<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download"
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/source');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
============================================================
--- htdocs/download/windows/index.php	3703d1718c4dce16292bf8b7e015ce19f2a0b889
+++ htdocs/download/windows/index.php	0fea1782d2089f26948ba6ae5851e0dc3a48dd45
@@ -20,7 +20,7 @@
 
 <div class="box_download">
 
-<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>.exe"
+<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>.exe/download"
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/win');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
@@ -29,7 +29,7 @@ onclick="javascript:pageTracker._trackPa
 </a></p>
 
 <p>This version of Pidgin downloads an appropriate version of GTK+.  GTK+ is now installed locally for Pidgin, and not system-wide, thus Pidgin will not interfere with other GTK+ apps on your system.</p>
-<p>If you would like to have GTK+ included in the installer, we have an <a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>-offline.exe">offline installer</a> that bundles everything except spell-checking dictionaries. </p>
+<p>If you would like to have GTK+ included in the installer, we have an <a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>-offline.exe/download">offline installer</a> that bundles everything except spell-checking dictionaries. </p>
 
 </div>
 
============================================================
--- inc/blurb.downloaddetect.inc	5cf94faf83092dc8a6a36c49af8fa72b8e275081
+++ inc/blurb.downloaddetect.inc	a70f7d6aff15e7a9bc45f1cd3c249b34954b67c7
@@ -11,7 +11,7 @@
 
   if (strstr($useragent, 'Win')) {
     $download_os = "for Windows";
-    $download_link = "http://sourceforge.net/projects/pidgin/files/Pidgin/$pidgin_win32_version/pidgin-$pidgin_win32_version.exe";
+    $download_link = "http://sourceforge.net/projects/pidgin/files/Pidgin/$pidgin_win32_version/pidgin-$pidgin_win32_version.exe/download";
     $download_goal = "/goals/downloads/win";
     $download_version = $pidgin_win32_version;
   } else if (strstr($useragent, "Ubuntu")) {
============================================================
--- htdocs/download/mac/index.php	6a334a4ff40d756cbe2de88b21682bc554bd8676
+++ htdocs/download/mac/index.php	bee7692a6f37c00c29a7eab6632215bd7e7cf942
@@ -20,7 +20,7 @@
 
 <div class="box_download">
 
-<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2"
+<p><a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download"
 onclick="javascript:pageTracker._trackPageview('/goals/downloads/source');"
 >
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />


More information about the Commits mailing list