On Thu, February 26, 2009 11:51 am, Christoph Baudson wrote:
> Hello,
>
> Mapbender is not very decisive whether to use stripslashes on request
> parameters or not. We seem to indecisive if we assume magic_quotes_gpc
> to be on or  off (it is on by default).
>
> I suggest we add something like this to globalSettings.php
>
> if (get_magic_quotes_gpc() === 1) {
>     array_walk($_POST, 'stripslashes');
>     array_walk($_GET, 'stripslashes');
> }
>
> By this, all input would be properly prepared, and no stripslashing
> would have to occur.
>
> What do you think?
>
> Christoph

Hello Christoph,

 this idea sounds reasonable to me.

astrid

_______________________________________________
Mapbender_dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapbender_dev

Reply via email to