dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
875342f
)
registration: Fix "config" schema validation
author
Kunal Mehta
<legoktm@member.fsf.org>
Mon, 25 Jul 2016 22:36:12 +0000
(15:36 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Mon, 25 Jul 2016 22:36:12 +0000
(15:36 -0700)
The "properties" field is only interpreted if the value is an object,
which was not being required. Add that missing type in, so
manifest_version 1 type config entries should fail.
Bug: T141289
Change-Id: Iffb084eb7a81a398a74370a1f9561198a88f5779
docs/extension.schema.json
patch
|
blob
|
history
diff --git
a/docs/extension.schema.json
b/docs/extension.schema.json
index
9c8160d
..
f2406c8
100644
(file)
--- a/
docs/extension.schema.json
+++ b/
docs/extension.schema.json
@@
-867,6
+867,7
@@
"description": "Configuration options for this extension",
"patternProperties": {
"^[a-zA-Z_\u007f-\u00ff][a-zA-Z0-9_\u007f-\u00ff]*$": {
+ "type": "object",
"properties": {
"value": {
"required": true