dashohoxha/oauth2_client — pull request #4 by pirog (2014-05-30 01:14:22+00:00)
Title: This ensures that & is being interupted correctly when interpreted by no...

...n-php endpoint

With php5.3 the separator is & on some servers it seems. Normally if posting to another php5.3 machine this will not be a problem.

But if you post to a tomcat java server or something else the & might not be handled properly.

To overcome this specify:
http_build_query($array, '', '&');
and NOT
http_build_query($array); //gives & to some servers

Since i'm not talking to a php server i'm not sure if this will bust that but i think it should be ok.

Please let me know what you think.