Skip to content

stripslashes() breaks javascript #5

Description

@reggi

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions