pidgin/old.pidgin.im
if (isset($_GET['dl_pkg'])) { $dl_pkg = $_GET['dl_pkg']; $fwd_url = 'http://downloads.sourceforge.net/project/pidgin/GTK%2B%20for%20Windows/' . $_GET['gtk_version'] . '/gtk-runtime-' . $_GET['gtk_version'] . '.zip'; } else if ($dl_pkg == 'dbgsym') { $fwd_url = 'http://downloads.sourceforge.net/project/pidgin/Pidgin/' . $_GET['version'] . '/pidgin-' . $_GET['version'] . '-dbgsym.zip'; } else if ($dl_pkg == 'oo_dict') { $lang_file = $_GET['lang_file']; //Temporarily forward to a mirror that's still up - later we can do something better //'http://download.services.openoffice.org/files/contrib/dictionaries/' //'http://mirror.sit.wisc.edu/pub/openoffice/contrib/dictionaries/', 'http://ftp.ntu.edu.tw/ftp/OpenOffice/contrib/dictionaries/', 'http://ftp.sunet.se/pub/Office/OpenOffice.org/contrib/dictionaries/', 'http://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/' $idx = rand(0, count($base_urls) - 1); $fwd_url = $base_urls[$idx] . $lang_file; } else if ($dl_pkg == 'aspell_core') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-0-50-3-3-Setup.exe'; } else if (strpos($dl_pkg, 'lang_') === 0) { if ($dl_pkg == 'lang_br') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-br-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_ca') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-ca-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_cs') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-cs-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_cy') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-cy-0.50-3-3.exe'; } else if ($dl_pkg == 'lang_da') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-da-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_de') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-de-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_el') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-el-0.50-3-3.exe'; } else if ($dl_pkg == 'lang_en') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-en-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_eo') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-eo-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_es') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-es-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_fo') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-fo-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_fr') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-fr-0.50-3-3.exe'; } else if ($dl_pkg == 'lang_it') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-it-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_nl') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-nl-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_no') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-no-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_pl') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-pl-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_pt') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-pt-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_ro') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-ro-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_ru') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-ru-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_sk') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-sk-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_sv') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-sv-0.50-2-3.exe'; } else if ($dl_pkg == 'lang_uk') { $fwd_url = 'http://ftp.gnu.org/gnu/aspell/w32/Aspell-uk-0.50-3-3.exe'; header("HTTP/1.1 302 Moved Temporarily"); header('Location: ' . $fwd_url); } else if (isset($body)) { header("HTTP/1.1 200 OK"); header("Content-Type: text/plain"); header("HTTP/1.1 400 Bad Request"); header("Status: 400 Bad Request");