{"action":"closed","issue":{"url":"https://api.github.com/repos/chrsmithdemos/minify/issues/82","labels_url":"https://api.github.com/repos/chrsmithdemos/minify/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/chrsmithdemos/minify/issues/82/comments","events_url":"https://api.github.com/repos/chrsmithdemos/minify/issues/82/events","html_url":"https://github.com/chrsmithdemos/minify/issues/82","id":58994870,"number":82,"title":"Incorrect CSS image paths","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/chrsmithdemos/minify/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/minify/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/minify/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-26T00:26:20Z","updated_at":"2015-02-26T00:26:20Z","closed_at":"2015-02-26T00:26:20Z","body":"```\nMinify version: 2.1.1\nPHP version:5.2.4-2ubuntu5.4\n\nWhat steps will reproduce the problem?\n1. Create a css file with a relative image path in it for a background,\nsuch as:\n*****\nurl(\"../images/fieldset-bg.gif\") \n*****\n2. Minify the css files with a relative image path in it :\narray(\n        '//styles/somefile.css'\n);\n\n2. Compare the re-written image path in the compressed file:\n\nExpected output:\noriginal: \"../images/fieldset-bg.gif\"\nmodified: \"../images/fieldset-bg.gif\"\n\nActual output:\n\noriginal: \"../images/fieldset-bg.gif\"\nmodified: \"/../images/fieldset-bg.gif\" \n\nDid any unit tests FAIL?\n\nRunning test_all.php produces the following failures:\n*****\n!FAIL: Minify_Cache_File : store (1 of 10 tests run so far have failed)\n!FAIL: Minify_Cache_File : isValid (2 of 12 tests run so far have failed)\n!FAIL: Minify_Cache_File : display (3 of 13 tests run so far have failed)\n!FAIL: Minify_Cache_File : fetch (4 of 14 tests run so far have failed)\n!FAIL: Minify_Cache_File : store w/ lock (5 of 15 tests run so far have failed)\n!FAIL: Minify_Cache_File : isValid (6 of 17 tests run so far have failed)\n!FAIL: Minify_Cache_File : display w/ lock (7 of 18 tests run so far have\nfailed)\n!FAIL: Minify_Cache_File : fetch w/ lock (8 of 19 tests run so far have failed)\n!FAIL: environment : PHP/server does not auto-HTTP-encode content (9 of 60\ntests run so far have failed)\n*****\n\nPlease provide any additional information below.\n\nThis issue was discussed in brief here:\nhttp://groups.google.com/group/minify/browse_thread/thread/895cb58e4bbfe17\n\n\n```\n\n-----\nOriginal issue reported on code.google.com by `bmhar...@gmail.com` on 26 Jan 2009 at 9:16"}}