{"action":"created","issue":{"url":"https://api.github.com/repos/lede-project/source/issues/20","repository_url":"https://api.github.com/repos/lede-project/source","labels_url":"https://api.github.com/repos/lede-project/source/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/lede-project/source/issues/20/comments","events_url":"https://api.github.com/repos/lede-project/source/issues/20/events","html_url":"https://github.com/lede-project/source/pull/20","id":155393958,"number":20,"title":"[RFC] network/services/uhttpd: Add Basic Auth config","user":{"login":"dfc-d","id":5790165,"avatar_url":"https://avatars.githubusercontent.com/u/5790165?v=3","gravatar_id":"","url":"https://api.github.com/users/dfc-d","html_url":"https://github.com/dfc-d","followers_url":"https://api.github.com/users/dfc-d/followers","following_url":"https://api.github.com/users/dfc-d/following{/other_user}","gists_url":"https://api.github.com/users/dfc-d/gists{/gist_id}","starred_url":"https://api.github.com/users/dfc-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfc-d/subscriptions","organizations_url":"https://api.github.com/users/dfc-d/orgs","repos_url":"https://api.github.com/users/dfc-d/repos","events_url":"https://api.github.com/users/dfc-d/events{/privacy}","received_events_url":"https://api.github.com/users/dfc-d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-18T00:43:17Z","updated_at":"2016-05-18T12:11:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lede-project/source/pulls/20","html_url":"https://github.com/lede-project/source/pull/20","diff_url":"https://github.com/lede-project/source/pull/20.diff","patch_url":"https://github.com/lede-project/source/pull/20.patch"},"body":"We add an 'httpauth' section type that contains the options:\r\n\r\ninstance: Which uhttpd config section the auth is associated with\r\nprefix: What virtual or real URL is being protected\r\nusername: The username for the Basic Auth dialogue\r\npassword: Hashed (crypt()) or plaintext password for the Basic Auth dialogue\r\n\r\nIf instance is not specified auth section applies to\r\nall instances of uhttpd; if instance is specified\r\nthe auth section only applies to the uhttpd config\r\nsection with the same name as specified with the\r\ninstance option.\r\n\r\nSigned-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>\r\n\r\nHas been tested and working, but is it of interest?  I have an LuCI app I did for uhttpd that was accepted, and PR for an update that utilizes this support, if that makes any difference"},"comment":{"url":"https://api.github.com/repos/lede-project/source/issues/comments/220007562","html_url":"https://github.com/lede-project/source/pull/20#issuecomment-220007562","issue_url":"https://api.github.com/repos/lede-project/source/issues/20","id":220007562,"user":{"login":"dfc-d","id":5790165,"avatar_url":"https://avatars.githubusercontent.com/u/5790165?v=3","gravatar_id":"","url":"https://api.github.com/users/dfc-d","html_url":"https://github.com/dfc-d","followers_url":"https://api.github.com/users/dfc-d/followers","following_url":"https://api.github.com/users/dfc-d/following{/other_user}","gists_url":"https://api.github.com/users/dfc-d/gists{/gist_id}","starred_url":"https://api.github.com/users/dfc-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfc-d/subscriptions","organizations_url":"https://api.github.com/users/dfc-d/orgs","repos_url":"https://api.github.com/users/dfc-d/repos","events_url":"https://api.github.com/users/dfc-d/events{/privacy}","received_events_url":"https://api.github.com/users/dfc-d/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T12:11:33Z","updated_at":"2016-05-18T12:11:33Z","body":"I've implemented that suggestion but  haven't tested yet - I'll let you know when I have."}}