Skip to content

stripslashes() breaks javascript #5

@reggi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions