I have a problem with the AJAX call on IE11 when parameter contains an apostrophe.
AJAX call looks like:
$.getJSON( "https://fqdn.to.server:8888/pdqm/endpoint", { firstName: self.firstName(), lastName: self.lastName() }, function (data) { //here is some stuff to do with UI }
and when using is search for an example O'Connor it create call to
https://fqdn.to.server:8888/pdqm/endpoint?firstName=*&lastName=O'Connor
which works fine with Chrome and FireFox but when used with IE11 it doesn't encode apostrophe/single quote when URL is full URL is created and called.
From https://api.jquery.com/jquery.getjson/
Data that is sent to the server is appended to the URL as a query string. If the value of the data parameter is a plain object, it is converted to a string and url-encoded before it is appended to the URL.
Any tips how to get that to work on IE?