Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Reserved characters in password used by Jetty


On Mon, Dec 5, 2016 at 4:13 PM, Steven White <swhite4141@xxxxxxxxx> wrote:
> Hi everyone,
> Solr uses Jetty and I'm using Jetty's to grant access.  I
> noticed that if the password has "@" Jetty throws an error and thus I cannot
> access Solr:
> java.lang.IllegalArgumentException: Illegal character in fragment at index
> 31:
> SolrAdminUser:81#Mst#Demo@18@localhost:8983/solr/demo/update?wt=xml&version=2.2
> at
> at org.apache.http.client.methods.HttpPost.<init>(
> at
> org.apache.solr.client.solrj.impl.HttpSolrClient.createMethod(
> The password is "81#Mst#Demo@18"
> My question is, what are the reserved character list?  Are they listed
> somewhere so I can referance them?

It appears that this issue is triggered by Apache's HttpClient (from
the stack trace), not Jetty's HttpClient.
The server is not involved and this appears to be a client only
problem, but not related to Jetty.
Have you asked the Solr mailing list already ?

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top