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