1
0
Fork 0

Bug fix/custom query names (#8579)

* restricted allowed custom query names

* changelog
This commit is contained in:
Heiko 2019-03-26 16:35:27 +01:00 committed by Frank Celler
parent 523019c8d3
commit c8ec3f0de5
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
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
* added "--log.ids" option to arangod

View File

@ -1569,8 +1569,8 @@
false,
[
{
rule: Joi.string().required(),
msg: 'No query name given.'
rule: Joi.string().regex(/^[a-zA-Z0-9\-_]*$/).required(),
msg: 'A query name is required. Characters, numbers and the symbols "_" and "-" are allowed.'
}
]
)