#35390 [NEW]: virtual() translates any "&" into "&"
| From: | liske at informatik dot hu-berlin dot de | Date: | Fri, 25 Nov 2005 11:41:04 +0000 |
| Subject: | #35390 [NEW]: virtual() translates any "&" into "&" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-88935@lists.php.net to get a copy of this message | ||
From: liske at informatik dot hu-berlin dot de
Operating system: Linux
PHP version: 5.1.0
PHP Bug Type: Apache related
Bug description: virtual() translates any "&" into "&"
Description:
------------
Including SSI-files via the virtual()-directive into PHP-scripts causes
"&" to result as "&".
Reproduce code:
---------------
in the PHP-Code:
...
virtual("../header.html.inc?Verö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öffentlichungen</title>
</head>
...
Actual result:
--------------
What I get is:
<head>
<title>Ver&ouml;ffentlichungen</title>
</head>
...
--
Edit bug report at http://bugs.php.net/?id=35390&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35390&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35390&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35390&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35390&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35390&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35390&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35390&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35390&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35390&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35390&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35390&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35390&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35390&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35390&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35390&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35390&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35390&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35390&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35390&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35390&r=mysqlcfg