Ticket #2373 (closed good practice: fixed)
ispCP or components should not use /e modifier for preg_replace
|Reported by:||BenBE||Owned by:||benedikt|
|Priority:||critical||Milestone:||ispCP ω 1.0.7|
|Component:||Frontend (GUI)||Version:||ispCP ω 1.0.5|
|Severity:||Medium||Keywords:||Suhosin, preg_replace, SquirrelMail|
ispCP should not use preg_replace with the /e modifier for better compatibility with the PHP Suhosin patch. Although disabling of the /e modifier isn't turned on by default it will break some parts of the Web-UI, especially in SquirrelMail.
For a partial fix of SquirrelMail (as far as my Customers complained), see http://blog.benny-baumann.de/?p=332 (German only, but the source parts at the end should be self-explanatory; in case of doubt simply ask).
Note: The particular issues described there is still present in the latest release of SquirrelMail (1.4.20). The change given there still applies cleanly though. Besides that change there are some more issues though which mostly relate to the Webmail UI.
- Owner set to benedikt
- Status changed from new to assigned
- Milestone changed from Working to ispCP ω 1.0.6