{"action":"created","issue":{"url":"https://api.github.com/repos/bertramdev/asset-pipeline/issues/261","labels_url":"https://api.github.com/repos/bertramdev/asset-pipeline/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/bertramdev/asset-pipeline/issues/261/comments","events_url":"https://api.github.com/repos/bertramdev/asset-pipeline/issues/261/events","html_url":"https://github.com/bertramdev/asset-pipeline/issues/261","id":89435337,"number":261,"title":"css background-image url translation broken when going several levels deep","user":{"login":"martijnkorteweg","id":2473049,"avatar_url":"https://avatars.githubusercontent.com/u/2473049?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnkorteweg","html_url":"https://github.com/martijnkorteweg","followers_url":"https://api.github.com/users/martijnkorteweg/followers","following_url":"https://api.github.com/users/martijnkorteweg/following{/other_user}","gists_url":"https://api.github.com/users/martijnkorteweg/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnkorteweg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnkorteweg/subscriptions","organizations_url":"https://api.github.com/users/martijnkorteweg/orgs","repos_url":"https://api.github.com/users/martijnkorteweg/repos","events_url":"https://api.github.com/users/martijnkorteweg/events{/privacy}","received_events_url":"https://api.github.com/users/martijnkorteweg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-19T00:50:24Z","updated_at":"2015-06-28T02:48:08Z","closed_at":"2015-06-28T02:48:08Z","body":"Asset-pipeline: 2.3.0 / 2.3.2\r\nGrails: 2.5.0\r\n\r\nWhen you go several level deep on a relative path, the url no longer gets translated to the correct path. I noticed this breaking when upgrading from 1.9.4 -> 2.3.0. Also just tested it on 2.3.2 and it shows the same results\r\n\r\n#### source css example 1\r\n```css\r\n.image-class {\r\n    background-image: url('../../images/image.png');\r\n}\r\n```\r\nTranslation for example 1 will not have any changes in the url to correct the image path\r\n\r\n#### source css example 2\r\n```css\r\n.image-class {\r\n    background-image: url('../images/image.png');\r\n}\r\n```\r\nTranslates the single depth folder correctly to:\r\n```css\r\n.image-class {\r\n    background-image: url('image.png');\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/bertramdev/asset-pipeline/issues/comments/116186558","html_url":"https://github.com/bertramdev/asset-pipeline/issues/261#issuecomment-116186558","issue_url":"https://api.github.com/repos/bertramdev/asset-pipeline/issues/261","id":116186558,"user":{"login":"davydotcom","id":23058,"avatar_url":"https://avatars.githubusercontent.com/u/23058?v=3","gravatar_id":"","url":"https://api.github.com/users/davydotcom","html_url":"https://github.com/davydotcom","followers_url":"https://api.github.com/users/davydotcom/followers","following_url":"https://api.github.com/users/davydotcom/following{/other_user}","gists_url":"https://api.github.com/users/davydotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/davydotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydotcom/subscriptions","organizations_url":"https://api.github.com/users/davydotcom/orgs","repos_url":"https://api.github.com/users/davydotcom/repos","events_url":"https://api.github.com/users/davydotcom/events{/privacy}","received_events_url":"https://api.github.com/users/davydotcom/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T02:48:08Z","updated_at":"2015-06-28T02:48:08Z","body":"unable to reproduce at this time more info needed"}}