Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Global "duplicates" parameter #51
Hi and thanks for this great lib!
Working with an URI instance, I cannot find a way to prevent it to remove duplicates (as URI.buildQuery() offers).
Is it possible to have a global flag like : URI.allowDuplicates = true
I want to replace all my utility methods about URI modifications by a lib doing it the proper way. I mostly modify query strings and compare URI.
Question about duplicates
Event if I cannot find a case yet where I need to send duplicates, my utility methods do not prevent me to do that. I do not want a regression on that specific point by switching to the URI lib.
If URI.buildQuery() offers me a way to choose if whether or not I want duplicates, why uri.addQuery() cannot?
hell no. All that is defined is the syntax - but nobody every said anything about semantics. This lead to a lot of different implementations regarding the handling of query strings.
v1.8.0 is on the doorstep (waiting a couple of days for some possible fix in QUnit). I've already introduced
(I'll close the ticket once v1.8.0 is out)