#35390 [Opn->Bgs]: virtual() translates any "&" into "&"

From: Date: Fri, 25 Nov 2005 11:42:58 +0000
Subject: #35390 [Opn->Bgs]: virtual() translates any "&" into "&"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88936@lists.php.net to get a copy of this message
ID: 35390 Updated by: tony2001@php.net Reported By: liske at informatik dot hu-berlin dot de -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Linux PHP Version: 5.1.0 New Comment: This is called "urlencoded" and is expected. I don't see any bugs here. Previous Comments: ------------------------------------------------------------------------ [2005-11-25 12:41:03] liske at informatik dot hu-berlin dot de Description: ------------ Including SSI-files via the virtual()-directive into PHP-scripts causes "&" to result as "&amp;". Reproduce code: --------------- in the PHP-Code: ... virtual("../header.html.inc?Ver&ouml;ffentlichungen"); ... in the SSI-file located at "../header.html.inc": <head> <title><!--#echo var="QUERY_STRING" --></title> </head> ... Expected result: ---------------- I excepted the resulting HTML-page to look like: <head> <title>Ver&ouml;ffentlichungen</title> </head> ... Actual result: -------------- What I get is: <head> <title>Ver&amp;ouml;ffentlichungen</title> </head> ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35390&edit=1

« previous php.bugs (#88936) next »