Prevent url encoding?
-
I have a page that includes some javascript that passes the user to another site through the use of a window.open command. The site I pass them to requires two arguments be passed in the HTTP header so the javascript I write looks like this: https://www.newSite.com/search.aspx?Keywords=myKeyword&orgID=12345
However, when this code executes from within wordpress the url that gets called is:
https://www.newSite.com/search.aspx?Keywords=myKeyword&:orgID=12345
Note that the ampersand that separates the Keywords parameter and the orgID parameter has been encoded to &. As a result, when newSite.com sees the HTTP header it does not know what the orgID is.Is there some way I can tell wordpress to make my window.open call as it is without modifying the url?
Thanks,
– Niz
- The topic ‘Prevent url encoding?’ is closed to new replies.