mguenther opened a new pull request #112: URL: https://github.com/apache/manifoldcf/pull/112
The underlying HTTP client of the Solr output connector always configures a dedicated `AuthScope` of the connection, even if the provided `realm` is the empty string (`""`). This is due to the fact that the attribute `realm` is never `null`, but `""` in case the user did not supply a parameter for this. This breaks connectivity in case basic authentication is in-place, but no realm is required. Thus, in both cases (`null` value and `""` for realm) the HTTP client should use `AuthScope.ANY`. This commit adds the necessary non-emptiness clause to the realm check in order to fix this behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@manifoldcf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org