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

HTTPClient: Fix missing processing of redirections with status code 303, 307, 308. #3516

Merged
merged 1 commit into from Aug 2, 2021

Conversation

tomabrafix
Copy link
Contributor

HTTP/1.1 (RFC 7231) and RFC 7538 also define the redirection status codes 303, 307 and 308. These should be also supported as they are used more widely nowadays (e.g. Google Docs).

…03, 307, 308.

HTTP/1.1 (RFC 7231) and RFC 7538 also define the redirection status codes 303,
307 and 308. These should be also supported as they are used more widely
nowadays (e.g. Google Docs).
@splitbrain splitbrain merged commit f0fb996 into dokuwiki:master Aug 2, 2021
@Klap-in
Copy link
Collaborator

Klap-in commented Aug 2, 2021

I guess it is practical to keep the unit tests up to date with these changes.
https://github.com/splitbrain/dokuwiki/blob/master/_test/tests/inc/httpclient_http.test.php Could you add unit tests for these changes? Or is that no feasible?

@splitbrain
Copy link
Collaborator

The problem is that httpbin is neglected and redirect tests have been disabled for a long time now.

@tomabrafix tomabrafix deleted the fix-httpclient branch August 13, 2021 11:31
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.

None yet

3 participants