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

changed the checking of invalid characters
Merge pull request #1415 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