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

& is interpreted as amp; #5

Open
TheMatrixan opened this issue Jul 3, 2018 · 0 comments
Open

& is interpreted as amp; #5

TheMatrixan opened this issue Jul 3, 2018 · 0 comments

Comments

@TheMatrixan
Copy link

TheMatrixan commented Jul 3, 2018

By sending a clickmeeting query using http_build_query($params) without specifying additional parameters, their server could interprate & as amp;. To avoid that, the code should look like:
http_build_query( $params, '', '&' )

curl_setopt($curl, CURLOPT_POSTFIELDS, $is_upload_file ? $params : http_build_query($params));

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

No branches or pull requests

1 participant