-
Notifications
You must be signed in to change notification settings - Fork 48
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
URIs not Equivalent with Differently Ordered Query Strings #35
Comments
@srezic had a valid point in the original RT that order might be important in determining equivalence. He said:
So I can imagine sometimes wanting it to be considered equivalent and sometimes not, depending on the use-case and context. Maybe it'd make sense to add a method that compares without regard to query string ordering? |
Is there a use case where the order of parameters actually matters? (I haven't read the RFC). I'd be inclined to ensure the params were all ordered before doing the comparison. |
Yes, order matters. Mojo::Parameters's example should likely be followed.
|
See https://rt.cpan.org/Ticket/Display.html?id=81491
I'm wondering if rather than
we should do something like
I haven't tested this, but wanted to start a discussion here.
Ping @eserte and @theory who are commenters on the original RT.
The text was updated successfully, but these errors were encountered: