tsubasa853 / owasp-esapi-php

Automatically exported from code.google.com/p/owasp-esapi-php
Other
0 stars 0 forks source link

PHP Safe Mode causes test failures and exceptions #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Running ESAPI AllTests on Apache 2.2 with PHP 5.2.0-8+etch16 and Safe Mode
enabled causes exceptions and failures with the following test cases:

ExecutorTest
SafeFileTest
ValidationRulesTest
SanitizerTest

It's the Safe Mode restrictions which cause the problems, for example:

Unexpected PHP error [file_put_contents(): SAFE MODE Restriction in effect.
The script whose uid is 10186 is not allowed to access
~/httpdocs/esapi-php/lib/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer/HT
ML
owned by uid 33] severity [E_WARNING] in
[~/httpdocs/esapi-php/lib/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.p
hp
line 103]

For the full list of failures and exceptions see:
https://lists.owasp.org/pipermail/esapi-php/2010-April/000805.html

Original issue reported on code.google.com by jahboite@gmail.com on 20 Apr 2010 at 10:12

GoogleCodeExporter commented 9 years ago
De-allocating all defects to me. 

Original comment by vande...@gmail.com on 14 Jul 2010 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by vande...@gmail.com on 14 Jul 2010 at 9:28

GoogleCodeExporter commented 9 years ago
All these issues must be dealt with before 1.0. New issues will be on a case by 
case basis as to whether we hold up 1.0 or not. 

Original comment by vande...@gmail.com on 17 Jun 2011 at 3:36