Ideas

Empty Elastica auth header causes basic auth

If the application configuration has an defined entry forSearchConstants::ELASTICA_PARAMETER__AUTH_HEADER this will set the authorisation to basic, even though it is set to false or an empty string.

The condition in AbstractSearchClientProvider:44 isn't sufficient enough.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Dec 12 2018
  • New
  • Attach files