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

multiple patches #21

Merged
merged 1 commit into from
Mar 18, 2020
Merged

multiple patches #21

merged 1 commit into from
Mar 18, 2020

Conversation

josephtingiris
Copy link
Contributor

replace random tabs with (4) spaces,
add Content-Length header to authorization (fixes apache 2.4 sending 400 for Content-Length: -1),
trim newline in token (fixes nginx sending 400 for CR/LF in token),
if not GET then add json_encode($params) to CURLOPT_POSTFIELDS

note this PR contains 2/3 changes from #16

trim newline in token (fixes nginx sending 400 for CR/LF in token),
if not GET then add json_encode($params) to CURLOPT_POSTFIELDS

the third, which removes $debug functionality was/is not included in this PR

…horization (fixes apache 2.4 sending 400 for Content-Length: -1), trim newline in token (fixes nginx sending 400 for CR/LF in token), if not GET then add json_encode($params) to CURLOPT_POSTFIELDS
@phpipam phpipam merged commit fc8df92 into phpipam:master Mar 18, 2020
cmeissner pushed a commit to cmeissner/phpipam-api-clients that referenced this pull request May 17, 2021
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