Expand my Community achievements bar.

How to Get Rid of the Unwanted Slash Appended by xfa.host.gotoURL?

Avatar

Level 2

Hello LifeCycle users,

I'm using "xfa.host.gotoURL" to call a number of URLs on the local network and I figured out that the gotoURL method automatically appends an unwanted slash to the URL. Unfortunately, with this unwanted slash the last parameter in my URLs does not work.

For example, I call an URL like this:

xfa.host.gotoURL(http://myhost?param1=NO&param2=YES&

param3=YES, 0);

The URL passed to the browser seems to be:

http://myhost?param1=NO&param2=YES&;param3=YES/

causing "param3" to not work anymore. Only "param1" and "param2" are evaluated on "myhost".

Is there any workaround (except adding a dummy parameter after "param3") for this?

Thanks,

Marcus

0 Replies