{"action":"created","issue":{"url":"https://api.github.com/repos/openwrt/luci/issues/1661","repository_url":"https://api.github.com/repos/openwrt/luci","labels_url":"https://api.github.com/repos/openwrt/luci/issues/1661/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/luci/issues/1661/comments","events_url":"https://api.github.com/repos/openwrt/luci/issues/1661/events","html_url":"https://github.com/openwrt/luci/issues/1661","id":302074541,"number":1661,"title":"DHCP crash beacause insufficient regexp checks","user":{"login":"RuderLaplace","id":31902947,"avatar_url":"https://avatars2.githubusercontent.com/u/31902947?v=4","gravatar_id":"","url":"https://api.github.com/users/RuderLaplace","html_url":"https://github.com/RuderLaplace","followers_url":"https://api.github.com/users/RuderLaplace/followers","following_url":"https://api.github.com/users/RuderLaplace/following{/other_user}","gists_url":"https://api.github.com/users/RuderLaplace/gists{/gist_id}","starred_url":"https://api.github.com/users/RuderLaplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuderLaplace/subscriptions","organizations_url":"https://api.github.com/users/RuderLaplace/orgs","repos_url":"https://api.github.com/users/RuderLaplace/repos","events_url":"https://api.github.com/users/RuderLaplace/events{/privacy}","received_events_url":"https://api.github.com/users/RuderLaplace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-04T10:27:55Z","updated_at":"2018-03-18T07:25:01Z","closed_at":null,"author_association":"NONE","body":"In firm 15.363.78009-956be55, the web form allows to enter a reserved static ip hostname with a character \"_\" at the begining of the name. Tought whenever it restart the service crashes due to this."},"comment":{"url":"https://api.github.com/repos/openwrt/luci/issues/comments/373978094","html_url":"https://github.com/openwrt/luci/issues/1661#issuecomment-373978094","issue_url":"https://api.github.com/repos/openwrt/luci/issues/1661","id":373978094,"user":{"login":"dibdot","id":8061346,"avatar_url":"https://avatars1.githubusercontent.com/u/8061346?v=4","gravatar_id":"","url":"https://api.github.com/users/dibdot","html_url":"https://github.com/dibdot","followers_url":"https://api.github.com/users/dibdot/followers","following_url":"https://api.github.com/users/dibdot/following{/other_user}","gists_url":"https://api.github.com/users/dibdot/gists{/gist_id}","starred_url":"https://api.github.com/users/dibdot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dibdot/subscriptions","organizations_url":"https://api.github.com/users/dibdot/orgs","repos_url":"https://api.github.com/users/dibdot/repos","events_url":"https://api.github.com/users/dibdot/events{/privacy}","received_events_url":"https://api.github.com/users/dibdot/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T07:25:01Z","updated_at":"2018-03-18T07:25:01Z","author_association":"CONTRIBUTOR","body":"@RuderLaplace Thanks for re-testing!\r\n\r\nI can confirm that this still exists in current trunk. Root cause is the used \"hostname\" dataytpe for validation, which allows an underscore at the beginning.\r\n\r\n@jow- @hnyman Should we add an additional datatype \"dhcphost\" which does not allow an \"_\" at the beginning or should we fix this only in dhcp.lua or maybe a totally different approach? "}}
{"actor":{"display_login":"dibdot"}}