On 21.08.2012, at 21:39, Amy Stephen <
amyst...@gmail.com> wrote:
> Since i recommended Nick ask this question on the Platform list, I wanted to throw in a couple of followup questions of my own - for clarity.
>
> 1. Is it true that the platform version that will be part of 3.0 will required magic quotes gpc to be off?
Yes. On all PHP options that change the runtime behavior of PHP we basically opted for the one that works like PHP 5.4.
> 2. If not, (meaning if the platform continues to support this directive on) and since it sounds like strong consideration has been given to moving the Installer into the CMS, is it within the CMS Team's decision making structure to determine whether or not the requirement can be removed?
Not sure I understand the question. What does this have to do with the installer?
> 3. If so (meaning that the platform does not accommodate magic quotes), might it make sense that the code to unescape magic quotes gpc be added until PHP 5.4 is the base requirement? (It appears that the directive is deprecated in PHP 5.3 and removed in 5.4.)
We could but I don't think that's a good idea. The code involved could not only cause a decent performance I wouldn't wanna make any guarantees about its stability either.
> 3. B. If the platform simply no longer accommodates magic quotes gpc, can this be handled with a system plugin? Or, is the best way to deal with this to link to a wiki document that explains how to deal with a hoster that has this enabled.
It can be handled in the application. A system plug-in may not be a good choice, depends on how much input has been processed at that point and whether it includes any escaped parameters.
Best regards
Rouven
PS: Those developers using JInput should be aware that it never was aware of magic_quotes, you'd have to handle that yourself.