• John Mason's avatar
    Pass URI to elasticsearch client instead of string · 598d3969
    John Mason authored
    Because we were URL encoding username and password
    but passing `uri.to_s` to the elasticsearch client,
    elasticsearch client was URL encoding the username
    and password a second time which resulted in 401
    errors.
    
    Passing a URI to elasticsearch client fixes this.
    
    Changelog: fixed
    EE: true
    598d3969
application_settings_controller_spec.rb 15.5 KB