Skip to Content
author's profile photo Former Member
Former Member

Issue with ITS adding [] to my URL

For some reason it seems like IE doens't like URL's with brackets in them.

I'm using wgateURL() to generate my url but once I start to add the parameters when it actually renders it adds a [1] to the end of the parameter.

?forcetarget[1]=yes&okcode[1]=MAAD

The wgateURL looks like this: `wgateURL(~forcetarget="yes", ~OkCode="MAAD")`

So is there a way to prevent it from adding in the [1]'s. Internet Explorer is the only browser that seems to fuss about this since I've tested this with Firefox, Safari, Chrome and Opera with success.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 25, 2010 at 04:14 PM

    Hello,

    I think you should encode the square brackets, not remove them. Try writeEnc or strenc on the URL, note 922792.

    Edgar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.