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

Fix issue that headers must contain 2 parts #4069

Merged

Conversation

pascalseeland
Copy link
Contributor

The previous PR contained a wrong check for the splitting of the header. It will never be more than 2 elements from explode, but one also gets passed the HTTP/1.1 200 OK as header, which cannot be split and is not a proper header.

@mjansenDatabay mjansenDatabay added bugfix php Pull requests that update Php code labels Feb 22, 2022
@smeyer-ilias
Copy link
Contributor

I will not merge this to 6 and 7, since no concrete bug was produced by the old implementation, correct?
The only consumer of the header array is class ilECSConnector (calls of getResponseHeaderArray())

@smeyer-ilias smeyer-ilias merged commit 8456c5b into ILIAS-eLearning:trunk Feb 22, 2022
@pascalseeland pascalseeland deleted the fix/wrong-header-check branch March 1, 2022 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants