: I fixed the issue by URL encoding. Here is a slim down version of my code
: (with the fix):
...
: // Gives back: http://username:password@server:port/solr/...
: String solrUrl = "http://"; + username + ":" + password + "@" +
: getSolrServerName() + ":" getSolrServerPort(
Thanks Shawn.
I fixed the issue by URL encoding. Here is a slim down version of my code
(with the fix):
// Gives back: http://username:password@server:port/solr/...
public HttpSolrClient getSolrClient()
{
// the next two lines is the fix
String username = URLEncoder.encode(
On 12/5/2016 8:10 AM, Steven White wrote:
> Hi everyone,
>
> I'm password protecting Solr using Jetty's realm.properties and noticed
> that if the password has "@" Jetty throws an error and thus I cannot access
> Solr:
> My question is, what are the reserved character list? Are they listed
> some
Hi everyone,
I'm password protecting Solr using Jetty's realm.properties and 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/d