I am a non CS person trying to sort the following out :
- I am working with an external provider who wants me to re-route people as follow:
1) They pass the following parameter to me through the url : &return
2) this parameter is in "escaped" format, for example:
https%3A//qcsurveys.gfksay.com/mriweb/mriweb.dll%3FI.Engine%3Dengine1%26I.Project%3DS21937%26I.Session%3Did2pldaovuievnhi4a6nrai5o3gaaaaa%26I.SavePoint%3DSTATUS%26I.Renderer%3DHTMLPlayer
Qualtrics seems to have a built in functionality such that this parameter is not saved as such but is partly (? - again I am not a CS person 😀 ) "unescaped" and thus saved as such:
https://qcsurveys.gfksay.com/mriweb/mriweb.dl?I.Engine=engine1&I.Project=S21937&I.Session=id2pldaovuievnhi4a6nrai5o3gaaaaa&I.SavePoint=STATUS&I.Renderer=HTMLPlayer
Which is good in that I can directly used this saved parameter as a redirect link, but not good if I have to pass this parameter on to an external website. Indeed, when I try to do this, anything after the first & is dropped.
& appears to be "&" in html...My guess is that I need to "escape" this parameter so I can pass it on through a URL. Yet, the presence of amp; is making it not very straightforward for a non CS person like me googling this...
Anyone as a suggestion what java code I should be using?
After 4h of trying to problem solve I am starting to lose hope :neutral:
Thanks!
Charlotte
Best answer by TomG
View original