BISERVER-10238 Rename functionality is allowing user to enter a name like ../users which leave the UI in a non-useable state

added checking of invalid characters
Merge pull request #1337 from AliaksandrDrebenchuk/BISERVER-10238

BISERVER-10238 Rename functionality is allowing user to enter a name like ../users which leave the UI in a non-useable state