Note that there are some explanatory texts on larger screens.

plurals
  1. POencoding of query string parameters in IE10
    primarykey
    data
    text
    <p>I got a request from a customer that he wants to be able to type the query string of my web service with parameters in the IE10 address bar and get the service results. The parameters include string in Hebrew, like: </p> <pre><code>http://mywebsite.com/service.asmx/foo?param1=123&amp;param2=מחרוזתבעברית </code></pre> <p>It looks to me that that IE10, unlike other (normal) browsers, won't encode the query string parameters - every non-ansi character that goes after the ? mark would be turned to '3f' byte, though it does encode what goes before the ? mark - the url itself.</p> <p>For example, if i try to reach the url (the parameter is imaginary, url is not, and I have no connection with the site)</p> <pre><code>http://www.shlomo.co.il/pageshe/sales/רכב-למכירה.asp?param=פאראם </code></pre> <p>and look in wireshark for the bytes I send to the server, it shows me</p> <p><img src="https://i.stack.imgur.com/A8YDs.png" alt="wireshark output"></p> <p>You can see it does substitute the hebrew part of the URL with urlencoded string, but substitutes the hebrew parameters with ?????, which are '3f's.</p> <p>The same string in chrome would be encoded in it's entirety:</p> <pre><code>GET http://www.shlomo.co.il/pageshe/sales/%D7%A8%D7%9B%D7%91-%D7%9C%D7%9E%D7%9B%D7%99%D7%A8%D7%94.asp?param=%D7%A4%D7%90%D7%A8%D7%90%D7%9D HTTP/1.1 </code></pre> <p>I tried it on machines with win7/IE10 and winXPheb/IE8.</p> <p>My IE settings are (especially checked the "Always show encoded addresses option" to see if it helps and restarted, but made no difference):</p> <p><img src="https://i.stack.imgur.com/ZLFHn.png" alt="enter image description here"></p> <p>I tried to search around for any info about the issue, but didn't find much of it. </p> <p>My questions are:</p> <ul> <li>Is it indeed like this, or am I missing something? </li> <li>Is this behavior documented anywhere? </li> <li>Are there any settings in IE/Win which enable the parameters encoding.</li> </ul> <p>p.s. Sure if I was developing the client/web ui, I would simply urlencode my query, but my request from customer was exactly to paste the query to IE address bar, that's why I'm interested in this specific behavior.</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload