Date: 09/30/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6941 Updated: References are not maintained through sessions"
- Previous message: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6837
Updated by: sas
Reported By: keks <email protected>
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
I've added single quotes support a couple of days ago. Please try again.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-21 18:36:29] keks <email protected>
Also, parser add double quotes around any HTML elements, not only links.
For example echo "<input type=text value='$myvalue'>"
produces output like this
<input type="text" value="'value'">
---------------------------------------------------------------------------
[2000-09-21 18:32:06] keks <email protected>
This small example
<?
session_start();
echo "<html><body>";
$href="bugs.php.net";
echo "<a href='$href'>bugs.php.net</a>";
echo "</body></html>";
exit;
?>
produces a bit unexpected output.
Notice additional double quotes aroud link string.
I think it's the problem of URL parser used while --enable-trans-sid, since without session_start() its output is normal.
*** START OF OUTPUT ***
<html><body>
<a href="'bugs.php.net'? PHPSESSID=5e3faeaf95fd83a2df2288b804a55604">bugs.php.net
</a>
</body></html>
*** END OF OUTPUT ***
PHP was compiled with following options
Apache is 1.3.12
--with-gd
--with-calendar
--enable-track-vars
--enable-trans-sid
--with-config-file-path=/etc
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6837
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6941 Updated: References are not maintained through sessions"
- Previous message: Matthew Hagerty: "Re: [PHP-DEV] PHP 4.0 Bug #6956 Updated: empty( "0" ) returns true"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

