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

http_build_query fix for buggy PHP versions #8

Merged

Conversation

mazikwyry
Copy link
Contributor

In PHP 5.3.1 http_build_query DOES escape the '&' ampersand character that joins the parameters. Example: user_id=1&setting_id=2.
It makes the script not running correctly.

This PR provides a fix for that to make script running on every version of PHP > 5.2 as specified.

@Kris-B Kris-B merged commit 3fb69e1 into nanostudio-org:master Mar 20, 2017
@Kris-B
Copy link
Member

Kris-B commented Mar 20, 2017

hi @mazikwyry
many thanks for the fix!

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