Skip to content

Fix scheme case insensitive equal - #485

Closed
0x00A5 wants to merge 1 commit into
hyperium:masterfrom
0x00A5:master
Closed

0x00A5 wants to merge 1 commit into
hyperium:masterfrom
0x00A5:master

Conversation

@0x00A5

@0x00A5 0x00A5 commented May 9, 2021

Copy link
Copy Markdown

Fixes #46

The PartialEq implementation of Scheme missed two cases,

  1. Other to Standard
  2. Standard to Other

For example, this will make http not equal to HTTP where the former is parsed as standard but the latter is parsed as other.

This PR added a patch to fix this issue and added unit tests.

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.

Fix case sensitivity issues w/ Uri

1 participant