Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stripslashes() breaks javascript #5

Open
reggi opened this issue Oct 9, 2012 · 1 comment
Open

stripslashes() breaks javascript #5

reggi opened this issue Oct 9, 2012 · 1 comment

Comments

@reggi
Copy link

reggi commented Oct 9, 2012

This line breaks my request when I try to push a javascript file to the assets.

$payload = in_array($method, array('POST','PUT')) ? stripslashes(json_encode($params)) : array();

I took the stripslashes() function out and it worked perfectly.

@sandeepshetty
Copy link
Member

I'll look into this and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants