[PHP-DEV] Bug #10372 Updated: php addslashes() the entire page From: sniper <email protected>
Date: 05/16/01

ID: 10372
Updated by: sniper
Reported By: hiryuu <email protected>
Old-Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Operating system:
PHP Version: 4.0.4
Assigned To:
Comments:

no feedback, considered fixed.

--Jani

Previous Comments:
---------------------------------------------------------------------------

[2001-04-18 02:56:37] cynic <email protected>
IIRC there was some odd interaction between session_start() and include(). Try upgrading to pl1 or higher (RC5 or current snapshot) and see if it persists.

---------------------------------------------------------------------------

[2001-04-18 02:49:02] hiryuu <email protected>
PHP will intermittently produce a page where all quotes
are backslashed, such as:

<body bgcolor="000000" text="ffffff" link="ffffff"
vlink="ffffff"
  alink="c0c0c0" leftmargin="0" topmargin="0"
marginwidth="0"
  marginheight="0">

<table width="100%" height="100%" border="0"
cellspacing="0"
  cellpadding="0">
<tr>

This particular page is produced using a template system,
so it has passed through file(), join, spliti,
str_replace, and echo.

The original data (in the file) contained no backslashes
and all magic quotes-related options are off (at least,
according to phpinfo). The phpinfo output is not affected
by this.

This is a vhosting server and one site (not this one) has
magic_quotes_gpc and magic_quotes_runtime enabled in their
.htaccess file.

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10372&edit=2

-- 
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>