W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > November 2012

[Bug 20148] URLQuery interface does not handle query parameter ordering

From: <bugzilla@jessica.w3.org>
Date: Thu, 29 Nov 2012 06:00:32 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-20148-2532-OdGUtbJRYr@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20148

--- Comment #4 from Simon Kaegi <simon_kaegi@ca.ibm.com> ---
re: just a stub etc. fair enough

My interpretation of "getAll" is that is identical to "get" except that it
returns an array/sequence of values (to handle the repeated key case)
associated with the parameter "name".

e.g.
For http://localhost?a=b&c=d&c=e

url.getAll("a") -> ["a"]
url.getAll("c") -> ["d", "e"]
url.getAll("z") -> []
url.getAll() -> TypeError

Essentially
url.get(x) === url.getAll(x)[0]

--

So at least by my interpretation "getAll" does not cut it for query parameter
ordering and the bug is valid.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 29 November 2012 06:00:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 November 2012 06:00:33 GMT