#30527 [NoF-Opn]: magic_quotes_gpc does not work per-directory

2005-06-13 Thread andrew at crannog-software dot com
 ID:   30527
 User updated by:  andrew at crannog-software dot com
 Reported By:  andrew at crannog-software dot com
-Status:   No Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Windows 2000
 PHP Version:  4.3.9
 New Comment:

Sorry about the lack of feedback - since I got the problem applications
working together with a small amount of editing code I can't justify
reinstalling PHP.


Previous Comments:


[2005-06-11 04:21:41] hans at velum dot net

This bug is still happening as of 4.3.11 and is a pretty serious
impediment to deploying complex PHP applications in IIS.



[2005-02-11 01:00:35] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2005-02-03 04:47:57] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2004-12-02 09:42:25] andrew at crannog-software dot com

The problem occurs when using PHP as an ISAPI module.



[2004-11-29 19:23:07] hans at velum dot net

For me the issue appears when using PHP as ISAPI module w/ IIS.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30527

-- 
Edit this bug report at http://bugs.php.net/?id=30527edit=1


#30527 [NoF-Opn]: magic_quotes_gpc does not work per-directory

2004-12-02 Thread andrew at crannog-software dot com
 ID:   30527
 User updated by:  andrew at crannog-software dot com
 Reported By:  andrew at crannog-software dot com
-Status:   No Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Windows 2000
 PHP Version:  4.3.9
 New Comment:

The problem occurs when using PHP as an ISAPI module.


Previous Comments:


[2004-12-02 01:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2004-11-29 19:23:07] hans at velum dot net

For me the issue appears when using PHP as ISAPI module w/ IIS.



[2004-11-24 16:23:12] [EMAIL PROTECTED]

See also bug #30813




[2004-11-24 00:47:53] [EMAIL PROTECTED]

Using PHP as CGI binary or ISAPI module?



[2004-11-21 18:42:39] hans at velum dot net

I can confirm this on Windows 2003 w/ IIS 6 also.  Note that the
magic_quotes_sybase INI setting is also being ignored.  Basically it's
always doing magic_quotes_gpc -- despite the phpinfo() / ini_get
showing the desired per-directory values.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30527

-- 
Edit this bug report at http://bugs.php.net/?id=30527edit=1


#30527 [NEW]: magic_quotes_gpc does not work per-directory

2004-10-22 Thread andrew at crannog-software dot com
From: andrew at crannog-software dot com
Operating system: Windows 2000
PHP version:  4.3.9
PHP Bug Type: PHP options/info functions
Bug description:  magic_quotes_gpc does not work per-directory

Description:

When magic_quotes_gpc is controlled per-directory through the registry,
the return code from get_magic_quotes_gpc() reflects the change, but the
contents of $_GET, $_POST and $_COOKIE remain escaped or not escaped
according to the setting in php.ini.

The code below was run with magic_quotes_gpc=on in php.ini and
magic_quotes_gpc=0 in the registry for the folder in which the script
resides.

Reproduce code:
---
html
 body
  magic_quotes_gpc is ?php echo get_magic_quotes_gpc() ? on : off;
?br /
  text: ?php echo $_REQUEST['text']; ?br /
  form action=test.php
   input name=text /nbsp;input type=submit /
  /form
 /body
/html

Expected result:

magic_quotes_gpc is off
text: test

Actual result:
--
magic_quotes_gpc is off
text: \test\

-- 
Edit bug report at http://bugs.php.net/?id=30527edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30527r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30527r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30527r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=30527r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=30527r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=30527r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=30527r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=30527r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30527r=support
Expected behavior:   http://bugs.php.net/fix.php?id=30527r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30527r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30527r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=30527r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30527r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=30527r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=30527r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30527r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30527r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30527r=mysqlcfg