title: PhoneGap InAppBrowser: Cannot open link with "%" character
body: <p>I am using PhoneGap 2.4 for my iOS project.</p>
  
  <p>When I want to open external URL's in a new webview layer via <code>window.open(url, "_blank");</code>, this works well for "simple" URL's, e.g. "<a href="http://www.google.com" rel="nofollow">http://www.google.com</a>".</p>
  
  <p><strong>BUT</strong></p>
  
  <p>more complicated URL's which include whitespace and special characters are a problem. To avoid this, I URL-encode them via this JavaScript-call:</p>
  
  <pre><code>url = encodeURIComponent(url);
  </code></pre>
  
  <p>This won't work with the InAppBrowser plugin. Instead I get an error message saying:</p>
  
  <blockquote>
    <p>webView:didFailLoadWithError - The operation couldn't be completed.
    (WebKitErrorDomain error 101.)</p>
  </blockquote>
  
  <p>So, I looked into this and I noticed that the call to <code>window.open(url, "_blank");</code> fails with this error message <strong>if the url contains the "%" character</strong>, e.g. if a whitespace character gets encoded to "%20".</p>
  
  <p>How can I work around this? Isn't this a bug?</p>
  
  <hr>
  
  <p><strong>Update:</strong> I just tested the same app on Android with PhoneGap 2.3. Works like a charm. So it's either an iOS issue or a problem with the latest PhoneGap release which is 2.4.</p>