Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changes in URL encoding/decoding?
#1
Hi,

since migrating from IW 15.1.15 to 15.2.49 we have noticed that there seems to be a change on how URL parameters are (automatically) decoded when containing non-basic characters. While I did a quick fix for a specific case where '+' was encoded as '%2B', we have discovered another case where users themselves have been able to encode non-English characters in a parameter, e.g. '%C3%B6' for 'ö', where our old code is no longer working. When I look at our code, the parameter values have been accessed either by using WebApplication.RunParams.Values or WebApplication.Request.QueryFields.Values, but in both cases it now seems that characters encodings now appear there without being decoded.

In IW 15.2.49+, what is the correct way of handling URL parameter decoding? Do I need to change some setting or add some code in order to get it to work like before?

Best regards

Magnus Oskarsson 
Reply


Messages In This Thread
Changes in URL encoding/decoding? - by magosk - 02-28-2022, 09:37 AM
RE: Changes in URL encoding/decoding? - by magosk - 03-02-2022, 08:45 AM
RE: Changes in URL encoding/decoding? - by magosk - 03-11-2022, 06:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)