This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24222 - URLSearchParams and PHP/Rails array magic
Summary: URLSearchParams and PHP/Rails array magic
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 15:07 UTC by Anne
Modified: 2014-01-14 11:00 UTC (History)
1 user (show)

See Also:


Attachments

Description Anne 2014-01-07 15:07:38 UTC
From Yehuda:

#   foo[bar][]=baz
#
# deserializes to 
#
#   { foo: { bar: ["baz"] } }

Maybe not as part of the normal API which is about to be shipping, but we could maybe layer this somehow?
Comment 1 Anne 2014-01-14 11:00:24 UTC
I did consider this. It was not needed because we already kept duplicate entries if you wanted that. It's a bug in PHP that it doesn't...