{"action":"created","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2338","labels_url":"https://api.github.com/repos/less/less.js/issues/2338/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2338/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2338/events","html_url":"https://github.com/less/less.js/pull/2338","id":51976452,"number":2338,"title":"DATA_URI_MAX_KB should compare the length of the base64 encoded string","user":{"login":"bassjobsen","id":954055,"avatar_url":"https://avatars.githubusercontent.com/u/954055?v=3","gravatar_id":"","url":"https://api.github.com/users/bassjobsen","html_url":"https://github.com/bassjobsen","followers_url":"https://api.github.com/users/bassjobsen/followers","following_url":"https://api.github.com/users/bassjobsen/following{/other_user}","gists_url":"https://api.github.com/users/bassjobsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bassjobsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bassjobsen/subscriptions","organizations_url":"https://api.github.com/users/bassjobsen/orgs","repos_url":"https://api.github.com/users/bassjobsen/repos","events_url":"https://api.github.com/users/bassjobsen/events{/privacy}","received_events_url":"https://api.github.com/users/bassjobsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-15T11:41:35Z","updated_at":"2015-01-01T19:08:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/less/less.js/pulls/2338","html_url":"https://github.com/less/less.js/pull/2338","diff_url":"https://github.com/less/less.js/pull/2338.diff","patch_url":"https://github.com/less/less.js/pull/2338.patch"},"body":"When IE accepts only a string of 32KB, and a base64 encoding has the size of 4/3 * its original (according wikipedia) the max file size should be 32KB / (4/3) = 24KB?"},"comment":{"url":"https://api.github.com/repos/less/less.js/issues/comments/68494992","html_url":"https://github.com/less/less.js/pull/2338#issuecomment-68494992","issue_url":"https://api.github.com/repos/less/less.js/issues/2338","id":68494992,"user":{"login":"lukeapage","id":309321,"avatar_url":"https://avatars.githubusercontent.com/u/309321?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeapage","html_url":"https://github.com/lukeapage","followers_url":"https://api.github.com/users/lukeapage/followers","following_url":"https://api.github.com/users/lukeapage/following{/other_user}","gists_url":"https://api.github.com/users/lukeapage/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeapage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeapage/subscriptions","organizations_url":"https://api.github.com/users/lukeapage/orgs","repos_url":"https://api.github.com/users/lukeapage/repos","events_url":"https://api.github.com/users/lukeapage/events{/privacy}","received_events_url":"https://api.github.com/users/lukeapage/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T19:08:01Z","updated_at":"2015-01-01T19:08:01Z","body":"Thanks for finding the issue, I did some research and I think you are right.. However I came up with a better solution - https://github.com/less/less.js/commit/f0780394fb51bb93f72c26478883441f26c5bcd7 - because we don't need to approximate the size that the base64 encoded string will be."}}