Skip to content

Use the new 5.4 json_encode flag JSON_UNESCAPED_SLASHES #464

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

Closed
wants to merge 3 commits into from

Conversation

webpatser
Copy link
Contributor

Use the new 5.4 json_encode flag JSON_UNESCAPED_SLASHES to slightly improve performance.

@webpatser webpatser closed this Sep 17, 2013
@webpatser webpatser reopened this Sep 17, 2013
} else {
$content = $data;
$content = $this->_stripJsonSlashes($data);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is that needed here? Before we also didn't have any escaping here.

@ruflin
Copy link
Owner

ruflin commented Oct 26, 2013

@webpatser Any updates here?

@webpatser
Copy link
Contributor Author

Ah Yes.. That second is a mistake... I;ll update it.

@ruflin
Copy link
Owner

ruflin commented Oct 30, 2013

Ok

@ruflin
Copy link
Owner

ruflin commented Jan 13, 2014

@webpatser I would like to merge this if the tests pass and the changes.txt file is updated :-) Any updates here? http://elastica.io/contribute/pull-request.html

@ruflin
Copy link
Owner

ruflin commented Mar 6, 2014

Fixed and closed through pull request #560

@ruflin ruflin closed this Mar 6, 2014
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

Successfully merging this pull request may close these issues.

2 participants