{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/minify/issues/296","labels_url":"https://api.github.com/repos/chrsmith/minify/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/minify/issues/296/comments","events_url":"https://api.github.com/repos/chrsmith/minify/issues/296/events","html_url":"https://github.com/chrsmith/minify/issues/296","id":58994303,"number":296,"title":"CSS Background Image URL Rewritten Incorrectly","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/minify/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/minify/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/minify/labels/Release-2.1.5","name":"Release-2.1.5","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/minify/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-26T00:22:37Z","updated_at":"2015-02-26T00:22:37Z","closed_at":"2015-02-26T00:22:37Z","body":"```\nNo problems with minifying JavaScript and no issues with Stylesheets when \nforcing merge instead of full minimization (by specifying Minify_Source with \nminifier = '')\n\nMinify commit/version: 2.1.7\nPHP version: 5.4.12\n\nWhat steps will reproduce the problem?\n1. Stylesheet with rule for background-image whose URL is a relative path:\n\n.pseudoSelect a {\nbackground: url(\"../img/editor/checked.png\") no-repeat scroll 10px center \n#2A2A2A;\n}\n\n2. Minified (not just merged)\n\nExpected output:\n.pseudoSelect\na{background:url(\"../img/editor/checked.png\") no-repeat scroll 10px center \n#2A2A2A;}\n\nActual output:\n.pseudoSelect\na{background:url(\"/css/img/editor/checked.png\") no-repeat scroll 10px center \n#2A2A2A;}\n\nNote that \"../img\" has now become \"/css/img\"\n\n```\n\n-----\nOriginal issue reported on code.google.com by `buzcarter` on 14 Sep 2013 at 8:05"},"comment":{"url":"https://api.github.com/repos/chrsmith/minify/issues/comments/76094901","html_url":"https://github.com/chrsmith/minify/issues/296#issuecomment-76094901","issue_url":"https://api.github.com/repos/chrsmith/minify/issues/296","id":76094901,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T00:22:37Z","updated_at":"2015-02-26T00:22:37Z","body":"```\nDoh! I'm duly shamed. Thanks much, works perfectly as advertised! (note to \nself: RTFM)\n```\n\n-----\nOriginal comment by `buzcarter` on 15 Sep 2013 at 8:33"}}