Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Unexpected URL encoding

  • snikphilbin
  • snikphilbin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago - 7 years 7 months ago #140085 by snikphilbin
Unexpected URL encoding was created by snikphilbin
Hello all,

I have a problem similar to #133593

I have a link to an external location embedded in one of my questions:

localhost/MyWebapp/?token={TOKEN}&sgq={h1.sgqa}

This works fine and life is wonderful, with the correct values for TOKEN and h1.sgqa being supplied to the my webapp.

However, occasionally I find that the URL has been encoded like this

localhost/MyWebapp/?token=%7BTOKEN%7D&sgq=%7Bh1.sgqa%7D

Which results in my web app receiving "token={TOKEN}" and "sgq={h1.sgqa}" instead of the actual values for these parameters.

I have reproduced this problem by exporting to an .lss file and importing, but I haven't tested this extensively to see if it always happens.

This is happening on our institution's server, running Version 2.50+ Build 160620. I did not have this problem when I tested it on your demo server.

Is there something about the way I've formatted the URL that could be causing this?

Mike
Last edit: 7 years 7 months ago by snikphilbin. Reason: typo
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose