Skip to main content

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

Hi everyone,

Solr uses Jetty and I'm using Jetty's realm.properties 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 java.net.URI.create(URI.java:871)
at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
at org.apache.solr.client.solrj.impl.HttpSolrClient.createMethod(HttpSolrClient.java:414)

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?

Thanks in advanced,

Steve

Back to the top