Fixed a bug when javascript client encrypt call another domain server.
Authored by: andot 2006-06-20
Parent: [r30]
Child: [r32]