From 2ceeb6e6645d5ef03d1d3e599133a29bc889b98c Mon Sep 17 00:00:00 2001
From: Romain d'Alverny <rda@mageia.org>
Date: Fri, 25 Nov 2011 13:11:49 +0000
Subject: really rewrite the request

---
 downloads/index.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'downloads')

diff --git a/downloads/index.php b/downloads/index.php
index a802ad6ff..980d7fde7 100644
--- a/downloads/index.php
+++ b/downloads/index.php
@@ -1,4 +1,5 @@
 <?php
 
 require_once '../langs.inc.php';
-relocate($langs, 'downloads/');
\ No newline at end of file
+
+relocate($langs, $_SERVER['REQUEST_URI']);
\ No newline at end of file
-- 
cgit v1.2.1