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/>

--- 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".

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

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

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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:04:28 UTC