Changed the redirect(...) method so it automtically encodes the supplied url when necessary.
Authored by: keess 2004-06-24
Parent: [r1213]
Child: [r1215]