title: Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 120
body: <p>I am using the following url for fetching values from server.</p>
  
  <pre><code>http://yyy.com/2013-01-01/search?q=t*&amp;q.options={"defaultOperator":"and","fields":["name"]}&amp;fq=(and directorytype:'directory1')
  </code></pre>
  
  <p>I am gettting the following error when running the app</p>
  
  <pre><code>Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 201
  
  The error is pointing to the following line of code
  
  HttpGet httpget = new HttpGet(URL);
  </code></pre>
  
  <p>Can anybody help</p>