{"action":"created","issue":{"url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/680","repository_url":"https://api.github.com/repos/pi-hole/AdminLTE","labels_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/680/labels{/name}","comments_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/680/comments","events_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/680/events","html_url":"https://github.com/pi-hole/AdminLTE/issues/680","id":294187291,"number":680,"title":"Settings > DNS > Custom 1 (IPv4) - displaying custom host#port incorrectly","user":{"login":"mhorne484","id":12196996,"avatar_url":"https://avatars3.githubusercontent.com/u/12196996?v=4","gravatar_id":"","url":"https://api.github.com/users/mhorne484","html_url":"https://github.com/mhorne484","followers_url":"https://api.github.com/users/mhorne484/followers","following_url":"https://api.github.com/users/mhorne484/following{/other_user}","gists_url":"https://api.github.com/users/mhorne484/gists{/gist_id}","starred_url":"https://api.github.com/users/mhorne484/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhorne484/subscriptions","organizations_url":"https://api.github.com/users/mhorne484/orgs","repos_url":"https://api.github.com/users/mhorne484/repos","events_url":"https://api.github.com/users/mhorne484/events{/privacy}","received_events_url":"https://api.github.com/users/mhorne484/received_events","type":"User","site_admin":false},"labels":[{"id":335193051,"url":"https://api.github.com/repos/pi-hole/AdminLTE/labels/Fixed%20In%20Next%20Release","name":"Fixed In Next Release","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-04T10:36:58Z","updated_at":"2018-05-03T21:08:18Z","closed_at":null,"author_association":"NONE","body":"**In raising this issue, I confirm the following:** \r\n\r\n- [X] I have read and understood the [contributors guide](https://github.com/pi-hole/AdminLTE/blob/master/CONTRIBUTING.md).\r\n- [X] The issue I am reporting can be *replicated*.\r\n- [X] The issue I am reporting isn't a duplicate (see [FAQs](https://github.com/pi-hole/pi-hole/wiki/FAQs), [closed issues](https://github.com/pi-hole/AdminLTE/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), and [open issues](https://github.com/pi-hole/AdminLTE/issues)).\r\n\r\n**How familiar are you with the the source code relevant to this issue?:**\r\n\r\n1\r\n\r\n---\r\n**Expected behaviour:**\r\n\r\nWhen using a custom host#ip combination in setupVars.conf -> /etc/dnsmasq.d/01-pihole.conf the web UI should display the port correctly.\r\n`127.0.0.1#54`\r\n\r\n**Actual behaviour:**\r\n\r\nInput mask is affecting display of custom port\r\n\r\n![screenshot from 2018-02-04 10-33-10](https://user-images.githubusercontent.com/12196996/35776561-d5968aa2-0996-11e8-929d-f27de7b3edde.png)\r\n\r\n**Steps to reproduce:**\r\n\r\nEnter a custom port into setupVars.conf when installing pihole\r\n`PIHOLE_DNS_1=127.0.0.1#54`\r\nView the settings page\r\nhttp://pihole/admin/settings.php?tab=dns\r\n\r\n**Debug token provided by [uploading `pihole -d` log](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#debug):**\r\n\r\nNot required.\r\n\r\n**Troubleshooting undertaken, and/or other relevant information:**\r\n\r\nLocated the custom input mask in `scripts/vendor/jquery.inputmask.extensions.js:27-59`. Appears the mask is only used in settings.php so updating the mask to allow port definitions should be possible without affecting other parts of the UI.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/comments/386437198","html_url":"https://github.com/pi-hole/AdminLTE/issues/680#issuecomment-386437198","issue_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/680","id":386437198,"user":{"login":"bjoe2k4","id":1668390,"avatar_url":"https://avatars2.githubusercontent.com/u/1668390?v=4","gravatar_id":"","url":"https://api.github.com/users/bjoe2k4","html_url":"https://github.com/bjoe2k4","followers_url":"https://api.github.com/users/bjoe2k4/followers","following_url":"https://api.github.com/users/bjoe2k4/following{/other_user}","gists_url":"https://api.github.com/users/bjoe2k4/gists{/gist_id}","starred_url":"https://api.github.com/users/bjoe2k4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjoe2k4/subscriptions","organizations_url":"https://api.github.com/users/bjoe2k4/orgs","repos_url":"https://api.github.com/users/bjoe2k4/repos","events_url":"https://api.github.com/users/bjoe2k4/events{/privacy}","received_events_url":"https://api.github.com/users/bjoe2k4/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T21:08:18Z","updated_at":"2018-05-03T21:08:18Z","author_association":"NONE","body":"@DL6ER Thanks! But why the need for an additional field? Why not just use the above four fields with port in # syntax?"}}
{"actor":{"display_login":"bjoe2k4"}}