[evolvis-commits] r6851: too much escapes, again↵ ↵ I think there should be an automatic entity escaping mechanism for↵ functions that need them (basically, everything – including echo –↵ besides session_redirect style stuff ) instead, but hey…↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Jul 29 09:46:30 CEST 2010


Author: mirabilos
Date: 2010-07-29 09:46:30 +0200 (Thu, 29 Jul 2010)
New Revision: 6851

Modified:
   trunk/gforge_base/evolvisforge/gforge/debian/changelog
   trunk/gforge_base/evolvisforge/gforge/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
Log:
too much escapes, again

I think there should be an automatic entity escaping mechanism for
functions that need them (basically, everything – including echo –
besides session_redirect style stuff) instead, but hey…


Modified: trunk/gforge_base/evolvisforge/gforge/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/debian/changelog	2010-07-29 07:46:28 UTC (rev 6850)
+++ trunk/gforge_base/evolvisforge/gforge/debian/changelog	2010-07-29 07:46:30 UTC (rev 6851)
@@ -8,8 +8,9 @@
     general case) or session_redirect_uri() (the rare case) for
     redirects, sysdebug_off() for Content-type and HTTP/Status,
     to disable the PHP and XHTML validator for those (CSV, RSS, …)
+  * Unbreak search functionality
 
- -- Thorsten Glaser <tg at mirbsd.de>  Wed, 28 Jul 2010 13:07:11 +0200
+ -- Thorsten Glaser <t.glaser at tarent.de>  Thu, 29 Jul 2010 09:40:05 +0200
 
 gforge (4.8.3+evolvis22) unstable; urgency=low
 

Modified: trunk/gforge_base/evolvisforge/gforge/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php	2010-07-29 07:46:28 UTC (rev 6850)
+++ trunk/gforge_base/evolvisforge/gforge/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php	2010-07-29 07:46:30 UTC (rev 6851)
@@ -93,7 +93,7 @@
 	 * redirectToResult - redirect the user  directly to the result when there is only one matching result
 	 */
 	function redirectToResult() {
-		session_redirect('/tracker/?group_id='.$this->groupId.'&amp;atid='.$this->artifactId.'&func=detail&amp;aid='.$this->getResultId('artifact_id'));
+		session_redirect('/tracker/?group_id='.$this->groupId.'&atid='.$this->artifactId.'&func=detail&aid='.$this->getResultId('artifact_id'));
 	}
 	
 }



More information about the evolvis-commits mailing list