15685: Adds validations to file names to avoid '.' and '..'
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Thu, 12 Nov 2020 19:14:07 +0000 (16:14 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Thu, 12 Nov 2020 19:14:07 +0000 (16:14 -0300)
commit4745e25131346a4521884773be1ce11a349c3263
tree2ea39365d2ec767deb36fe8ad849fa4985c1cf87
parentb7b20fb214acc7e756360a081bb801afe16af775
15685: Adds validations to file names to avoid '.' and '..'

Although the backend already does validations, this will provide a better UX
because of the immediate feedback and better error message.

Also, adjusted tests.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
cypress/integration/collection-panel.spec.js
src/validators/valid-name.tsx