Issue metadata
Sign in to add a comment
|
Duplicate keys in a service manifest appear to result in second entry silently overwriting first |
||||||||||||||||||||||||
Issue description
I encountered this by mistakenly doing the following:
....
"requires": {
"foo" : [ "bar" ],
"foo" : [ "baz" ],
}
....
This manifest was accepted and resulted in runtime behavior of the request connection to foo:bar being denied. Either this manifest should be rejected or the entries should be merged.
,
May 29 2017
,
Nov 1 2017
,
Oct 15
General SM bug triage. Just took a very quick look at this. We do collision detection when merging dicts, but Python's JSON parser itself *does not* do collision detection. We can fix this by supplying a custom object_pairs_hook when calling json.load.
,
Oct 17
,
Dec 5
Duping into an older bug I had forgotten about despite having triaged both of them recently... :| |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by roc...@chromium.org
, Apr 10 2017Owner: roc...@chromium.org
Status: Assigned (was: Available)