{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1322","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1322/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1322/comments","events_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1322/events","html_url":"https://github.com/letsencrypt/letsencrypt/issues/1322","id":115030225,"number":1322,"title":"http-01 provisioned resources and newlines","user":{"login":"MiaP97","id":10572646,"avatar_url":"https://avatars.githubusercontent.com/u/10572646?v=3","gravatar_id":"","url":"https://api.github.com/users/MiaP97","html_url":"https://github.com/MiaP97","followers_url":"https://api.github.com/users/MiaP97/followers","following_url":"https://api.github.com/users/MiaP97/following{/other_user}","gists_url":"https://api.github.com/users/MiaP97/gists{/gist_id}","starred_url":"https://api.github.com/users/MiaP97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiaP97/subscriptions","organizations_url":"https://api.github.com/users/MiaP97/orgs","repos_url":"https://api.github.com/users/MiaP97/repos","events_url":"https://api.github.com/users/MiaP97/events{/privacy}","received_events_url":"https://api.github.com/users/MiaP97/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/acme","name":"acme","color":"888888"},{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/spec-compliance","name":"spec-compliance","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-04T11:13:29Z","updated_at":"2015-11-10T22:21:08Z","closed_at":null,"body":"For some reason the Litespeed Webserver for my shared hosting appears to add new-lines to text/plain files meaning that the acme challenge fails due to there being a \"\\n\" at the end, it'd be great if LE accepted the \\n or knew to remove the \\n as I can't find a way to stop it having a \\n in the HTTP response (I tried nano -L and echo).\r\nIt was returned as a text/plain file (ForceType text/plain in .htaccess) which I checked with HttpFox.\r\n[Relevant section of log](http://pastebin.com/9g0MNYSS)"},"comment":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/comments/155586426","html_url":"https://github.com/letsencrypt/letsencrypt/issues/1322#issuecomment-155586426","issue_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1322","id":155586426,"user":{"login":"tedb","id":221291,"avatar_url":"https://avatars.githubusercontent.com/u/221291?v=3","gravatar_id":"","url":"https://api.github.com/users/tedb","html_url":"https://github.com/tedb","followers_url":"https://api.github.com/users/tedb/followers","following_url":"https://api.github.com/users/tedb/following{/other_user}","gists_url":"https://api.github.com/users/tedb/gists{/gist_id}","starred_url":"https://api.github.com/users/tedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedb/subscriptions","organizations_url":"https://api.github.com/users/tedb/orgs","repos_url":"https://api.github.com/users/tedb/repos","events_url":"https://api.github.com/users/tedb/events{/privacy}","received_events_url":"https://api.github.com/users/tedb/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T22:21:08Z","updated_at":"2015-11-10T22:21:08Z","body":"@MiaP97 For this to work for me, I had to generate my verification file using \"echo -n\" to not append the newline, as in:\r\n\r\necho -n \"abcd-etc-xyz\" > filename\r\n\r\nDoes that work for you with your Litespeed based host?"}}