Since this problem is probably not common with the password field,
maybe
search(b,"/")==-1 && search(b,":")==-1)would be a better kludge.
Since this problem is probably not common with the password field,
maybe
search(b,"/")==-1 && search(b,":")==-1)would be a better kludge.