mirror of https://gitee.com/bigwinds/arangodb
Bug fix/custom query names (#8579)
* restricted allowed custom query names * changelog
This commit is contained in:
parent
523019c8d3
commit
c8ec3f0de5
|
@ -1,6 +1,9 @@
|
||||||
devel
|
devel
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
* fixed internal issue #3789: restricted the allowed query names for user
|
||||||
|
defined custom queries within the web ui.
|
||||||
|
|
||||||
* upgraded bundled RocksDB version to 6.0
|
* upgraded bundled RocksDB version to 6.0
|
||||||
|
|
||||||
* added "--log.ids" option to arangod
|
* added "--log.ids" option to arangod
|
||||||
|
|
|
@ -1569,8 +1569,8 @@
|
||||||
false,
|
false,
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
rule: Joi.string().required(),
|
rule: Joi.string().regex(/^[a-zA-Z0-9\-_]*$/).required(),
|
||||||
msg: 'No query name given.'
|
msg: 'A query name is required. Characters, numbers and the symbols "_" and "-" are allowed.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue