ok let me do some test on your case. but for sure there should be a strip
slashes on the output. there should be different solution for your case.
for example when on MAMP on mac the config are by default compiled into
binary and you can't change it and it auto add slashes to any post to the
form.
by security feature I mean since we can strip slashes on output we can add
slashes to any input and that was the default case in aiki.
I'll test different cases but for now let's keep this please

--
Bassel Safadi | http://bassel.ws
Skype: i.know.sy | Global: +1-323-545-3855


On Fri, Jan 6, 2012 at 4:44 PM, Jakub Jankiewicz <[email protected]> wrote:

> Why you put stripslaches into output code, what security feature, I
> remove it because it was messing with widget code. Try now to edit a
> widget that contain javascript like this:
>
> var foo = "foo\nbar\nbaz"
> alert(foo);
>
> Every time you same the widget you will need to put slash before \n and
> if you click on widget again it will remove it again.
>
> It's madness.
>
> --
> Jakub Jankiewicz
> twitter: @jcubic
> www: http://jcubic.pl
>
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to