escape / in the bad characters string