{"action":"created","issue":{"url":"https://api.github.com/repos/floragunncom/search-guard/issues/51","repository_url":"https://api.github.com/repos/floragunncom/search-guard","labels_url":"https://api.github.com/repos/floragunncom/search-guard/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/floragunncom/search-guard/issues/51/comments","events_url":"https://api.github.com/repos/floragunncom/search-guard/issues/51/events","html_url":"https://github.com/floragunncom/search-guard/issues/51","id":103674708,"number":51,"title":"Invalid 'Authorization' header","user":{"login":"surewecan","id":11093930,"avatar_url":"https://avatars.githubusercontent.com/u/11093930?v=3","gravatar_id":"","url":"https://api.github.com/users/surewecan","html_url":"https://github.com/surewecan","followers_url":"https://api.github.com/users/surewecan/followers","following_url":"https://api.github.com/users/surewecan/following{/other_user}","gists_url":"https://api.github.com/users/surewecan/gists{/gist_id}","starred_url":"https://api.github.com/users/surewecan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surewecan/subscriptions","organizations_url":"https://api.github.com/users/surewecan/orgs","repos_url":"https://api.github.com/users/surewecan/repos","events_url":"https://api.github.com/users/surewecan/events{/privacy}","received_events_url":"https://api.github.com/users/surewecan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/floragunncom/search-guard/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/floragunncom/search-guard/milestones/1","html_url":"https://github.com/floragunncom/search-guard/milestones/beta2","labels_url":"https://api.github.com/repos/floragunncom/search-guard/milestones/1/labels","id":1740616,"number":1,"title":"beta2","description":"","creator":{"login":"floragunncom","id":11678154,"avatar_url":"https://avatars.githubusercontent.com/u/11678154?v=3","gravatar_id":"","url":"https://api.github.com/users/floragunncom","html_url":"https://github.com/floragunncom","followers_url":"https://api.github.com/users/floragunncom/followers","following_url":"https://api.github.com/users/floragunncom/following{/other_user}","gists_url":"https://api.github.com/users/floragunncom/gists{/gist_id}","starred_url":"https://api.github.com/users/floragunncom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floragunncom/subscriptions","organizations_url":"https://api.github.com/users/floragunncom/orgs","repos_url":"https://api.github.com/users/floragunncom/repos","events_url":"https://api.github.com/users/floragunncom/events{/privacy}","received_events_url":"https://api.github.com/users/floragunncom/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":1,"state":"open","created_at":"2016-05-01T12:24:38Z","updated_at":"2016-05-01T17:07:35Z","due_on":"2016-05-07T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-08-28T08:52:38Z","updated_at":"2016-05-01T17:13:26Z","closed_at":"2016-05-01T17:07:35Z","body":"We have configured search guard with AD authentication. It works, but for users with colon symbol auth doesn't work with the following WARN:\r\n\r\n    [WARN ][com.floragunn.searchguard.authentication.http.basic.HTTPBasicAuthenticator] Invalid 'Authorization' header, send 401 and 'WWW-Authenticate Basic'\r\n\r\n\r\nThe problem is in this part of https://github.com/floragunncom/search-guard/blob/master/src/main/java/com/floragunn/searchguard/authentication/http/basic/HTTPBasicAuthenticator.java:\r\n\r\n`if (decodedBasicHeaderParts.length != 2 || decodedBasicHeaderParts[1] == null)`\r\n\r\nWhen password contains colon (\":\"), decoded phrase include more than 2 parts and auth attempt throws an exception."},"comment":{"url":"https://api.github.com/repos/floragunncom/search-guard/issues/comments/216056559","html_url":"https://github.com/floragunncom/search-guard/issues/51#issuecomment-216056559","issue_url":"https://api.github.com/repos/floragunncom/search-guard/issues/51","id":216056559,"user":{"login":"floragunncom","id":11678154,"avatar_url":"https://avatars.githubusercontent.com/u/11678154?v=3","gravatar_id":"","url":"https://api.github.com/users/floragunncom","html_url":"https://github.com/floragunncom","followers_url":"https://api.github.com/users/floragunncom/followers","following_url":"https://api.github.com/users/floragunncom/following{/other_user}","gists_url":"https://api.github.com/users/floragunncom/gists{/gist_id}","starred_url":"https://api.github.com/users/floragunncom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floragunncom/subscriptions","organizations_url":"https://api.github.com/users/floragunncom/orgs","repos_url":"https://api.github.com/users/floragunncom/repos","events_url":"https://api.github.com/users/floragunncom/events{/privacy}","received_events_url":"https://api.github.com/users/floragunncom/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T17:13:26Z","updated_at":"2016-05-01T17:13:26Z","body":"Fixed for Search Guard 2. Pls. do not longer report issues for Search Guard 1 (for elasticsearch 1.x). We sincerely apologize for the inconvenience this may have caused. Thanks for contributing!"}}