{"action":"created","issue":{"url":"https://api.github.com/repos/oblac/jodd/issues/205","labels_url":"https://api.github.com/repos/oblac/jodd/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/oblac/jodd/issues/205/comments","events_url":"https://api.github.com/repos/oblac/jodd/issues/205/events","html_url":"https://github.com/oblac/jodd/issues/205","id":60240072,"number":205,"title":"HtmlStapler breaks HTML or takes very long to load","user":{"login":"ldeseta","id":3856866,"avatar_url":"https://avatars.githubusercontent.com/u/3856866?v=3","gravatar_id":"","url":"https://api.github.com/users/ldeseta","html_url":"https://github.com/ldeseta","followers_url":"https://api.github.com/users/ldeseta/followers","following_url":"https://api.github.com/users/ldeseta/following{/other_user}","gists_url":"https://api.github.com/users/ldeseta/gists{/gist_id}","starred_url":"https://api.github.com/users/ldeseta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldeseta/subscriptions","organizations_url":"https://api.github.com/users/ldeseta/orgs","repos_url":"https://api.github.com/users/ldeseta/repos","events_url":"https://api.github.com/users/ldeseta/events{/privacy}","received_events_url":"https://api.github.com/users/ldeseta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oblac/jodd/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"igorspasic","id":2280001,"avatar_url":"https://avatars.githubusercontent.com/u/2280001?v=3","gravatar_id":"","url":"https://api.github.com/users/igorspasic","html_url":"https://github.com/igorspasic","followers_url":"https://api.github.com/users/igorspasic/followers","following_url":"https://api.github.com/users/igorspasic/following{/other_user}","gists_url":"https://api.github.com/users/igorspasic/gists{/gist_id}","starred_url":"https://api.github.com/users/igorspasic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorspasic/subscriptions","organizations_url":"https://api.github.com/users/igorspasic/orgs","repos_url":"https://api.github.com/users/igorspasic/repos","events_url":"https://api.github.com/users/igorspasic/events{/privacy}","received_events_url":"https://api.github.com/users/igorspasic/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-03-08T04:05:25Z","updated_at":"2015-03-10T10:29:43Z","closed_at":null,"body":"Im having very strange behaviour with HtmlStapler. When using it with default setup with a very simple HTML with no JS nor CSS, the webpage takes about 20 seconds to load. When it includes a simple local CSS, the HTML returned is broken (it doesnt return the whole file, resulting in stripped content and an invalid HTML). \r\n\r\nI'm using Jodd 3.6.4, but I tried it with previous versions with no luck.\r\n\r\nI've reproduced this situation in: \r\n* Windows 7 64-bits, Tomcat 8.0.20, JDK 8u40 and JDK 7u76\r\n* Windows XP 32-bits, Tomcat 8.0.12, JDK 8\r\n\r\nThis error does NOT happen when deploying in Linux (Centos 7 64-bits, Tomcat 8.0.20, JDK 8u40), it works just fine.\r\n\r\nIve created a very small webapp where you can check this issue. It contains 3 HTML with these scenarios: \r\n* Compiled WAR: https://dl.dropboxusercontent.com/u/159166/jodd-demos.war\r\n* Source code: https://dl.dropboxusercontent.com/u/159166/jodd-demos.zip\r\n"},"comment":{"url":"https://api.github.com/repos/oblac/jodd/issues/comments/78028534","html_url":"https://github.com/oblac/jodd/issues/205#issuecomment-78028534","issue_url":"https://api.github.com/repos/oblac/jodd/issues/205","id":78028534,"user":{"login":"igorspasic","id":2280001,"avatar_url":"https://avatars.githubusercontent.com/u/2280001?v=3","gravatar_id":"","url":"https://api.github.com/users/igorspasic","html_url":"https://github.com/igorspasic","followers_url":"https://api.github.com/users/igorspasic/followers","following_url":"https://api.github.com/users/igorspasic/following{/other_user}","gists_url":"https://api.github.com/users/igorspasic/gists{/gist_id}","starred_url":"https://api.github.com/users/igorspasic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorspasic/subscriptions","organizations_url":"https://api.github.com/users/igorspasic/orgs","repos_url":"https://api.github.com/users/igorspasic/repos","events_url":"https://api.github.com/users/igorspasic/events{/privacy}","received_events_url":"https://api.github.com/users/igorspasic/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T10:29:43Z","updated_at":"2015-03-10T10:29:43Z","body":"The fix is committed. I have the jars. I just need your email :)))\r\n\r\nCan you send me your email? Here is how you can contact us:\r\nhttp://jodd.org/contact.html\r\n\r\nThanx for that voodoo, it helped ;) Let's hope this solves issue on Windows, as well; didn't have time to check it yet :("}}