Values sent in URL not seen (properties file)
<p>I have a property file wich contains an url, on the next row the first parameter needed in the url and on the next one, the second one, like this (example):</p>

<pre><code>glt.url=http://...?username={0}&amp;password={1}&amp;type=html
glt.username=sew_dw_43
glt.password=RE94ks
</code></pre>

<p>But when I make the request, I have an error saying: </p>

<pre><code>Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 85:
</code></pre>

<p>Still, if I hard-code the values in the url, it works.</p>

<p>Do you have any ideas? Thank you in advance.</p>