{"action":"opened","number":1671,"pull_request":{"url":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/1671","id":81243561,"html_url":"https://github.com/nopSolutions/nopCommerce/pull/1671","diff_url":"https://github.com/nopSolutions/nopCommerce/pull/1671.diff","patch_url":"https://github.com/nopSolutions/nopCommerce/pull/1671.patch","issue_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/1671","number":1671,"state":"open","locked":false,"title":"Fix for bundling CSS under a virtual directrory (fixes relative urls i…","user":{"login":"shoecake","id":8297265,"avatar_url":"https://avatars.githubusercontent.com/u/8297265?v=3","gravatar_id":"","url":"https://api.github.com/users/shoecake","html_url":"https://github.com/shoecake","followers_url":"https://api.github.com/users/shoecake/followers","following_url":"https://api.github.com/users/shoecake/following{/other_user}","gists_url":"https://api.github.com/users/shoecake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoecake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoecake/subscriptions","organizations_url":"https://api.github.com/users/shoecake/orgs","repos_url":"https://api.github.com/users/shoecake/repos","events_url":"https://api.github.com/users/shoecake/events{/privacy}","received_events_url":"https://api.github.com/users/shoecake/received_events","type":"User","site_admin":false},"body":"This is a fix for websites under a virtual directory. there is a bug in the Microsoft.AspNet.Web.Optimization project where the code does not take into account the application path when transforming relative links.\r\n\r\ne.g. a css line of:\r\nbackground: url('../img/rss-icon.png');\r\n\r\ngets transformed to /img/rss-icon.png when it should get transformed to /virtualdir/img/rss-icon.png\r\n\r\nIt does not look like that code is being maintained as this fix has been available for some time. The original fix I took from https://github.com/benmccallum/AspNetBundling/blob/master/AspNetBundling/CssRewriteUrlTransformFixed.cs\r\n\r\nNote, you may want to move the CssRewriteUrlTransformFixed.cs file and its namespace to somewhere more suitable. ","created_at":"2016-08-14T13:32:53Z","updated_at":"2016-08-14T13:32:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/1671/commits","review_comments_url":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/1671/comments","review_comment_url":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/1671/comments","statuses_url":"https://api.github.com/repos/nopSolutions/nopCommerce/statuses/ea6602b8a2ec940d25eb8aee4c00270eef2b353e","head":{"label":"shoecake:develop","ref":"develop","sha":"ea6602b8a2ec940d25eb8aee4c00270eef2b353e","user":{"login":"shoecake","id":8297265,"avatar_url":"https://avatars.githubusercontent.com/u/8297265?v=3","gravatar_id":"","url":"https://api.github.com/users/shoecake","html_url":"https://github.com/shoecake","followers_url":"https://api.github.com/users/shoecake/followers","following_url":"https://api.github.com/users/shoecake/following{/other_user}","gists_url":"https://api.github.com/users/shoecake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoecake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoecake/subscriptions","organizations_url":"https://api.github.com/users/shoecake/orgs","repos_url":"https://api.github.com/users/shoecake/repos","events_url":"https://api.github.com/users/shoecake/events{/privacy}","received_events_url":"https://api.github.com/users/shoecake/received_events","type":"User","site_admin":false},"repo":{"id":65666696,"name":"nopCommerce","full_name":"shoecake/nopCommerce","owner":{"login":"shoecake","id":8297265,"avatar_url":"https://avatars.githubusercontent.com/u/8297265?v=3","gravatar_id":"","url":"https://api.github.com/users/shoecake","html_url":"https://github.com/shoecake","followers_url":"https://api.github.com/users/shoecake/followers","following_url":"https://api.github.com/users/shoecake/following{/other_user}","gists_url":"https://api.github.com/users/shoecake/gists{/gist_id}","starred_url":"https://api.github.com/users/shoecake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoecake/subscriptions","organizations_url":"https://api.github.com/users/shoecake/orgs","repos_url":"https://api.github.com/users/shoecake/repos","events_url":"https://api.github.com/users/shoecake/events{/privacy}","received_events_url":"https://api.github.com/users/shoecake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shoecake/nopCommerce","description":"Free open-source ecommerce shopping cart (ASP.NET MVC)","fork":true,"url":"https://api.github.com/repos/shoecake/nopCommerce","forks_url":"https://api.github.com/repos/shoecake/nopCommerce/forks","keys_url":"https://api.github.com/repos/shoecake/nopCommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shoecake/nopCommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shoecake/nopCommerce/teams","hooks_url":"https://api.github.com/repos/shoecake/nopCommerce/hooks","issue_events_url":"https://api.github.com/repos/shoecake/nopCommerce/issues/events{/number}","events_url":"https://api.github.com/repos/shoecake/nopCommerce/events","assignees_url":"https://api.github.com/repos/shoecake/nopCommerce/assignees{/user}","branches_url":"https://api.github.com/repos/shoecake/nopCommerce/branches{/branch}","tags_url":"https://api.github.com/repos/shoecake/nopCommerce/tags","blobs_url":"https://api.github.com/repos/shoecake/nopCommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shoecake/nopCommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shoecake/nopCommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/shoecake/nopCommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shoecake/nopCommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/shoecake/nopCommerce/languages","stargazers_url":"https://api.github.com/repos/shoecake/nopCommerce/stargazers","contributors_url":"https://api.github.com/repos/shoecake/nopCommerce/contributors","subscribers_url":"https://api.github.com/repos/shoecake/nopCommerce/subscribers","subscription_url":"https://api.github.com/repos/shoecake/nopCommerce/subscription","commits_url":"https://api.github.com/repos/shoecake/nopCommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/shoecake/nopCommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/shoecake/nopCommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/shoecake/nopCommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/shoecake/nopCommerce/contents/{+path}","compare_url":"https://api.github.com/repos/shoecake/nopCommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shoecake/nopCommerce/merges","archive_url":"https://api.github.com/repos/shoecake/nopCommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shoecake/nopCommerce/downloads","issues_url":"https://api.github.com/repos/shoecake/nopCommerce/issues{/number}","pulls_url":"https://api.github.com/repos/shoecake/nopCommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/shoecake/nopCommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/shoecake/nopCommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shoecake/nopCommerce/labels{/name}","releases_url":"https://api.github.com/repos/shoecake/nopCommerce/releases{/id}","deployments_url":"https://api.github.com/repos/shoecake/nopCommerce/deployments","created_at":"2016-08-14T13:07:22Z","updated_at":"2016-08-14T13:07:32Z","pushed_at":"2016-08-14T13:19:08Z","git_url":"git://github.com/shoecake/nopCommerce.git","ssh_url":"git@github.com:shoecake/nopCommerce.git","clone_url":"https://github.com/shoecake/nopCommerce.git","svn_url":"https://github.com/shoecake/nopCommerce","homepage":"http://www.nopcommerce.com","size":449811,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"nopSolutions:develop","ref":"develop","sha":"011a31b4188dc5cfc22982b57ca0e739ba0fe617","user":{"login":"nopSolutions","id":7234683,"avatar_url":"https://avatars.githubusercontent.com/u/7234683?v=3","gravatar_id":"","url":"https://api.github.com/users/nopSolutions","html_url":"https://github.com/nopSolutions","followers_url":"https://api.github.com/users/nopSolutions/followers","following_url":"https://api.github.com/users/nopSolutions/following{/other_user}","gists_url":"https://api.github.com/users/nopSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/nopSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nopSolutions/subscriptions","organizations_url":"https://api.github.com/users/nopSolutions/orgs","repos_url":"https://api.github.com/users/nopSolutions/repos","events_url":"https://api.github.com/users/nopSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/nopSolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":18586705,"name":"nopCommerce","full_name":"nopSolutions/nopCommerce","owner":{"login":"nopSolutions","id":7234683,"avatar_url":"https://avatars.githubusercontent.com/u/7234683?v=3","gravatar_id":"","url":"https://api.github.com/users/nopSolutions","html_url":"https://github.com/nopSolutions","followers_url":"https://api.github.com/users/nopSolutions/followers","following_url":"https://api.github.com/users/nopSolutions/following{/other_user}","gists_url":"https://api.github.com/users/nopSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/nopSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nopSolutions/subscriptions","organizations_url":"https://api.github.com/users/nopSolutions/orgs","repos_url":"https://api.github.com/users/nopSolutions/repos","events_url":"https://api.github.com/users/nopSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/nopSolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nopSolutions/nopCommerce","description":"Free open-source ecommerce shopping cart (ASP.NET MVC)","fork":false,"url":"https://api.github.com/repos/nopSolutions/nopCommerce","forks_url":"https://api.github.com/repos/nopSolutions/nopCommerce/forks","keys_url":"https://api.github.com/repos/nopSolutions/nopCommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nopSolutions/nopCommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nopSolutions/nopCommerce/teams","hooks_url":"https://api.github.com/repos/nopSolutions/nopCommerce/hooks","issue_events_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/events{/number}","events_url":"https://api.github.com/repos/nopSolutions/nopCommerce/events","assignees_url":"https://api.github.com/repos/nopSolutions/nopCommerce/assignees{/user}","branches_url":"https://api.github.com/repos/nopSolutions/nopCommerce/branches{/branch}","tags_url":"https://api.github.com/repos/nopSolutions/nopCommerce/tags","blobs_url":"https://api.github.com/repos/nopSolutions/nopCommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nopSolutions/nopCommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nopSolutions/nopCommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/nopSolutions/nopCommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nopSolutions/nopCommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/nopSolutions/nopCommerce/languages","stargazers_url":"https://api.github.com/repos/nopSolutions/nopCommerce/stargazers","contributors_url":"https://api.github.com/repos/nopSolutions/nopCommerce/contributors","subscribers_url":"https://api.github.com/repos/nopSolutions/nopCommerce/subscribers","subscription_url":"https://api.github.com/repos/nopSolutions/nopCommerce/subscription","commits_url":"https://api.github.com/repos/nopSolutions/nopCommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/nopSolutions/nopCommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/nopSolutions/nopCommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/nopSolutions/nopCommerce/contents/{+path}","compare_url":"https://api.github.com/repos/nopSolutions/nopCommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nopSolutions/nopCommerce/merges","archive_url":"https://api.github.com/repos/nopSolutions/nopCommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nopSolutions/nopCommerce/downloads","issues_url":"https://api.github.com/repos/nopSolutions/nopCommerce/issues{/number}","pulls_url":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/nopSolutions/nopCommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/nopSolutions/nopCommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nopSolutions/nopCommerce/labels{/name}","releases_url":"https://api.github.com/repos/nopSolutions/nopCommerce/releases{/id}","deployments_url":"https://api.github.com/repos/nopSolutions/nopCommerce/deployments","created_at":"2014-04-09T05:47:50Z","updated_at":"2016-08-14T11:31:14Z","pushed_at":"2016-08-14T13:32:53Z","git_url":"git://github.com/nopSolutions/nopCommerce.git","ssh_url":"git@github.com:nopSolutions/nopCommerce.git","clone_url":"https://github.com/nopSolutions/nopCommerce.git","svn_url":"https://github.com/nopSolutions/nopCommerce","homepage":"http://www.nopcommerce.com","size":449811,"stargazers_count":676,"watchers_count":676,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":531,"mirror_url":null,"open_issues_count":725,"forks":531,"open_issues":725,"watchers":676,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/1671"},"html":{"href":"https://github.com/nopSolutions/nopCommerce/pull/1671"},"issue":{"href":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/1671"},"comments":{"href":"https://api.github.com/repos/nopSolutions/nopCommerce/issues/1671/comments"},"review_comments":{"href":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/1671/comments"},"review_comment":{"href":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nopSolutions/nopCommerce/pulls/1671/commits"},"statuses":{"href":"https://api.github.com/repos/nopSolutions/nopCommerce/statuses/ea6602b8a2ec940d25eb8aee4c00270eef2b353e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":66,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"shoecake"}}