{"action":"closed","issue":{"url":"https://api.github.com/repos/coredns/coredns/issues/2364","repository_url":"https://api.github.com/repos/coredns/coredns","labels_url":"https://api.github.com/repos/coredns/coredns/issues/2364/labels{/name}","comments_url":"https://api.github.com/repos/coredns/coredns/issues/2364/comments","events_url":"https://api.github.com/repos/coredns/coredns/issues/2364/events","html_url":"https://github.com/coredns/coredns/issues/2364","id":387164327,"node_id":"MDU6SXNzdWUzODcxNjQzMjc=","number":2364,"title":"plugin/rewrite: \"name prefix\" replacement does eat the first letter of the name","user":{"login":"thomas-mangin","id":1227755,"node_id":"MDQ6VXNlcjEyMjc3NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1227755?v=4","gravatar_id":"","url":"https://api.github.com/users/thomas-mangin","html_url":"https://github.com/thomas-mangin","followers_url":"https://api.github.com/users/thomas-mangin/followers","following_url":"https://api.github.com/users/thomas-mangin/following{/other_user}","gists_url":"https://api.github.com/users/thomas-mangin/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-mangin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-mangin/subscriptions","organizations_url":"https://api.github.com/users/thomas-mangin/orgs","repos_url":"https://api.github.com/users/thomas-mangin/repos","events_url":"https://api.github.com/users/thomas-mangin/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-mangin/received_events","type":"User","site_admin":false},"labels":[{"id":615856372,"node_id":"MDU6TGFiZWw2MTU4NTYzNzI=","url":"https://api.github.com/repos/coredns/coredns/labels/good%20first%20issue","name":"good first issue","color":"e587e3","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-04T08:06:36Z","updated_at":"2018-12-06T22:35:27Z","closed_at":"2018-12-06T22:35:27Z","author_association":"NONE","body":"Using CoreDNS 1.2.6 release\r\n\r\nUsing a configuration such as:\r\n```\r\n. {\r\n        forward . 8.8.8.8\r\n\r\n        rewrite stop name prefix test. not-a-test.\r\n}\r\n```\r\n\r\n```\r\ndig txt test.example.com @127.0.0.1\r\n\r\n; <<>> DiG 9.12.3 <<>> txt test.example.com @127.0.0.1\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36561\r\n;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 4096\r\n;; QUESTION SECTION:\r\n;test.example.com.\t\tIN\tTXT\r\n\r\n;; AUTHORITY SECTION:\r\nxample.com.\t\t300\tIN\tSOA\tns1.torresdns.com. admin.xample.com. 2018051801 86400 10800 604800 300\r\n\r\n;; Query time: 48 msec\r\n;; SERVER: 127.0.0.1#53(127.0.0.1)\r\n;; WHEN: Tue Dec 04 07:56:15 GMT 2018\r\n;; MSG SIZE  rcvd: 124\r\n```\r\nThe \"e\" of \"example get eaten away, same in the logs\r\n```\r\n2018-12-04T07:56:15.771Z [INFO] 127.0.0.1:51510 - 36561 \"TXT IN not-a-test.xample.com. udp 63 false 4096\" NOERROR qr,rd,ra 125 0.046009796s\r\n```"}}
{"actor":{"display_login":"thomas-mangin"}}