Skip to content

Conversation

@Tobion
Copy link
Contributor

@Tobion Tobion commented May 12, 2021

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets
Documentation
License MIT

I've seen implementation violating the spec RFC 3986, e.g. zendframework/zend-diactoros@68fc742
So let's add a proper test for this.

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, according to https://datatracker.ietf.org/doc/html/rfc3986#section-3.3 a segment can be 0 length, leading to consequtive slashes.

@Tobion
Copy link
Contributor Author

Tobion commented Jun 20, 2021

ping @Nyholm

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely. Thank you for the PR and the review.

@Nyholm Nyholm merged commit d368c62 into php-http:master Jun 20, 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.

3 participants