<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - XMLHttpRequest executed in UIWebView and WKWebView encodes valid query string characters"
   href="https://bugs.webkit.org/show_bug.cgi?id=143578#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - XMLHttpRequest executed in UIWebView and WKWebView encodes valid query string characters"
   href="https://bugs.webkit.org/show_bug.cgi?id=143578">bug 143578</a>
              from <span class="vcard"><a class="email" href="mailto:eugenebut&#64;chromium.org" title="Eugene But &lt;eugenebut&#64;chromium.org&gt;"> <span class="fn">Eugene But</span></a>
</span></b>
        <pre>The issue happens at NSURLProtocol level. URLRequest passed to canInitWithRequest: has encoded characters. You can use attached app to reproduce the issue:
1.) Build and run attached UIWebView test app
2.) Click/tap on &quot;Send XHR&quot; button
3.) Observe the log:

2015-04-13 14:04:55.151 UIWebView[7993:2115613] request: &lt;NSURLRequest: 0x7f8bba401490&gt; { URL: <a href="https://www.google.com/?a%5B%5D=1">https://www.google.com/?a%5B%5D=1</a> }

Alexey, do you think it will be better to submit a separate WebKit bug for this issue?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>