$NetBSD: patch-ab,v 1.1.2.1 2010/08/12 10:12:51 tron Exp $

Fix for CSS from repository, r507.

--- system/modules/frontend/Frontend.php.orig	2009-04-30 18:32:53.000000000 +0000
+++ system/modules/frontend/Frontend.php
@@ -165,8 +165,16 @@ abstract class Frontend extends Controll
 	protected function addToUrl($strRequest)
 	{
 		$arrGet = $_GET;
+
+		// Clean the $_GET values (thanks to thyon)
+		foreach (array_keys($arrGet) as $key)
+		{
+			$arrGet[$key] = $this->Input->get($key, true);
+		}
+
 		$arrFragments = preg_split('/&(amp;)?/i', $strRequest);
 
+		// Merge the new request string
 		foreach ($arrFragments as $strFragment)
 		{
 			$arrParams = explode('=', $strFragment);
