{"action":"created","comment":{"url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments/29242851","id":29242851,"diff_hunk":"@@ -550,6 +562,55 @@ private static bool ProcessAnyFileContent(IRequestInfo info, string localPath)\n \t\t\treturn true;\n \t\t}\n \n+\t\tprivate bool ProcessCssFile(IRequestInfo info, string localPath)\n+\t\t{\n+\t\t\t// is this request the full path to a real file?\n+\t\t\tif (File.Exists(localPath) && Path.IsPathRooted(localPath))","path":"src/BloomExe/web/EnhancedImageServer.cs","position":52,"original_position":52,"commit_id":"598c22de45b68fa305a666e8a8eefe25beaa5159","original_commit_id":"598c22de45b68fa305a666e8a8eefe25beaa5159","user":{"login":"JohnThomson","id":1360521,"avatar_url":"https://avatars.githubusercontent.com/u/1360521?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnThomson","html_url":"https://github.com/JohnThomson","followers_url":"https://api.github.com/users/JohnThomson/followers","following_url":"https://api.github.com/users/JohnThomson/following{/other_user}","gists_url":"https://api.github.com/users/JohnThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnThomson/subscriptions","organizations_url":"https://api.github.com/users/JohnThomson/orgs","repos_url":"https://api.github.com/users/JohnThomson/repos","events_url":"https://api.github.com/users/JohnThomson/events{/privacy}","received_events_url":"https://api.github.com/users/JohnThomson/received_events","type":"User","site_admin":false},"body":"May be worth commenting here that this path will typically be taken for files in the book folder (since the browser supplies the preceding path). This is desirable for a couple of files. I thought though that there were files we copy to the book folder so it will be self-contained, but which we want to preferentially find a current version of in the files we ship?","created_at":"2015-04-28T13:40:56Z","updated_at":"2015-04-28T13:40:56Z","html_url":"https://github.com/BloomBooks/BloomDesktop/pull/431#discussion_r29242851","pull_request_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431","_links":{"self":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments/29242851"},"html":{"href":"https://github.com/BloomBooks/BloomDesktop/pull/431#discussion_r29242851"},"pull_request":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431"}}},"pull_request":{"url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431","id":34192644,"html_url":"https://github.com/BloomBooks/BloomDesktop/pull/431","diff_url":"https://github.com/BloomBooks/BloomDesktop/pull/431.diff","patch_url":"https://github.com/BloomBooks/BloomDesktop/pull/431.patch","issue_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/431","number":431,"state":"open","locked":false,"title":"BL-854: Move actual CSS file selection to the server","user":{"login":"phillip-hopper","id":5262964,"avatar_url":"https://avatars.githubusercontent.com/u/5262964?v=3","gravatar_id":"","url":"https://api.github.com/users/phillip-hopper","html_url":"https://github.com/phillip-hopper","followers_url":"https://api.github.com/users/phillip-hopper/followers","following_url":"https://api.github.com/users/phillip-hopper/following{/other_user}","gists_url":"https://api.github.com/users/phillip-hopper/gists{/gist_id}","starred_url":"https://api.github.com/users/phillip-hopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillip-hopper/subscriptions","organizations_url":"https://api.github.com/users/phillip-hopper/orgs","repos_url":"https://api.github.com/users/phillip-hopper/repos","events_url":"https://api.github.com/users/phillip-hopper/events{/privacy}","received_events_url":"https://api.github.com/users/phillip-hopper/received_events","type":"User","site_admin":false},"body":"I tried to make this as close as possible to the original pull request for this issue.\r\n\r\n**Pull request #430 needs to be merged before this one.**","created_at":"2015-04-27T17:48:04Z","updated_at":"2015-04-28T13:40:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6a0ad7539b071e3ecb9285c5140c67c90405943","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431/commits","review_comments_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431/comments","review_comment_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/431/comments","statuses_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/statuses/598c22de45b68fa305a666e8a8eefe25beaa5159","head":{"label":"phillip-hopper:BL-854b","ref":"BL-854b","sha":"598c22de45b68fa305a666e8a8eefe25beaa5159","user":{"login":"phillip-hopper","id":5262964,"avatar_url":"https://avatars.githubusercontent.com/u/5262964?v=3","gravatar_id":"","url":"https://api.github.com/users/phillip-hopper","html_url":"https://github.com/phillip-hopper","followers_url":"https://api.github.com/users/phillip-hopper/followers","following_url":"https://api.github.com/users/phillip-hopper/following{/other_user}","gists_url":"https://api.github.com/users/phillip-hopper/gists{/gist_id}","starred_url":"https://api.github.com/users/phillip-hopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillip-hopper/subscriptions","organizations_url":"https://api.github.com/users/phillip-hopper/orgs","repos_url":"https://api.github.com/users/phillip-hopper/repos","events_url":"https://api.github.com/users/phillip-hopper/events{/privacy}","received_events_url":"https://api.github.com/users/phillip-hopper/received_events","type":"User","site_admin":false},"repo":{"id":24845983,"name":"BloomDesktop","full_name":"phillip-hopper/BloomDesktop","owner":{"login":"phillip-hopper","id":5262964,"avatar_url":"https://avatars.githubusercontent.com/u/5262964?v=3","gravatar_id":"","url":"https://api.github.com/users/phillip-hopper","html_url":"https://github.com/phillip-hopper","followers_url":"https://api.github.com/users/phillip-hopper/followers","following_url":"https://api.github.com/users/phillip-hopper/following{/other_user}","gists_url":"https://api.github.com/users/phillip-hopper/gists{/gist_id}","starred_url":"https://api.github.com/users/phillip-hopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillip-hopper/subscriptions","organizations_url":"https://api.github.com/users/phillip-hopper/orgs","repos_url":"https://api.github.com/users/phillip-hopper/repos","events_url":"https://api.github.com/users/phillip-hopper/events{/privacy}","received_events_url":"https://api.github.com/users/phillip-hopper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phillip-hopper/BloomDesktop","description":"This is a working fork, not the main repository.","fork":true,"url":"https://api.github.com/repos/phillip-hopper/BloomDesktop","forks_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/forks","keys_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/teams","hooks_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/hooks","issue_events_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/issues/events{/number}","events_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/events","assignees_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/assignees{/user}","branches_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/branches{/branch}","tags_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/tags","blobs_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/statuses/{sha}","languages_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/languages","stargazers_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/stargazers","contributors_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/contributors","subscribers_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/subscribers","subscription_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/subscription","commits_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/contents/{+path}","compare_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/merges","archive_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/downloads","issues_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/issues{/number}","pulls_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/pulls{/number}","milestones_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/milestones{/number}","notifications_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/labels{/name}","releases_url":"https://api.github.com/repos/phillip-hopper/BloomDesktop/releases{/id}","created_at":"2014-10-06T13:04:44Z","updated_at":"2014-10-23T13:18:39Z","pushed_at":"2015-04-27T17:44:14Z","git_url":"git://github.com/phillip-hopper/BloomDesktop.git","ssh_url":"git@github.com:phillip-hopper/BloomDesktop.git","clone_url":"https://github.com/phillip-hopper/BloomDesktop.git","svn_url":"https://github.com/phillip-hopper/BloomDesktop","homepage":"http://bloomlibrary.org/","size":43844,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BloomBooks:master","ref":"master","sha":"8dbc4ebbee96a2d6471273eebe28244e0c5bd1a0","user":{"login":"BloomBooks","id":5853716,"avatar_url":"https://avatars.githubusercontent.com/u/5853716?v=3","gravatar_id":"","url":"https://api.github.com/users/BloomBooks","html_url":"https://github.com/BloomBooks","followers_url":"https://api.github.com/users/BloomBooks/followers","following_url":"https://api.github.com/users/BloomBooks/following{/other_user}","gists_url":"https://api.github.com/users/BloomBooks/gists{/gist_id}","starred_url":"https://api.github.com/users/BloomBooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BloomBooks/subscriptions","organizations_url":"https://api.github.com/users/BloomBooks/orgs","repos_url":"https://api.github.com/users/BloomBooks/repos","events_url":"https://api.github.com/users/BloomBooks/events{/privacy}","received_events_url":"https://api.github.com/users/BloomBooks/received_events","type":"Organization","site_admin":false},"repo":{"id":14133680,"name":"BloomDesktop","full_name":"BloomBooks/BloomDesktop","owner":{"login":"BloomBooks","id":5853716,"avatar_url":"https://avatars.githubusercontent.com/u/5853716?v=3","gravatar_id":"","url":"https://api.github.com/users/BloomBooks","html_url":"https://github.com/BloomBooks","followers_url":"https://api.github.com/users/BloomBooks/followers","following_url":"https://api.github.com/users/BloomBooks/following{/other_user}","gists_url":"https://api.github.com/users/BloomBooks/gists{/gist_id}","starred_url":"https://api.github.com/users/BloomBooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BloomBooks/subscriptions","organizations_url":"https://api.github.com/users/BloomBooks/orgs","repos_url":"https://api.github.com/users/BloomBooks/repos","events_url":"https://api.github.com/users/BloomBooks/events{/privacy}","received_events_url":"https://api.github.com/users/BloomBooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BloomBooks/BloomDesktop","description":"Bloom Desktop is a hybrid c#/javascript/html/css Windows application that dramatically \"lowers the bar\" for language communities who want books in their own languages. Bloom delivers a low-training, high-output system where mother tongue speakers and their advocates work together to foster both community authorship and access to external material in the vernacular.","fork":false,"url":"https://api.github.com/repos/BloomBooks/BloomDesktop","forks_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/forks","keys_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/teams","hooks_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/hooks","issue_events_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/events{/number}","events_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/events","assignees_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/assignees{/user}","branches_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/branches{/branch}","tags_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/tags","blobs_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/statuses/{sha}","languages_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/languages","stargazers_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/stargazers","contributors_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/contributors","subscribers_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/subscribers","subscription_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/subscription","commits_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/contents/{+path}","compare_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/merges","archive_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/downloads","issues_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues{/number}","pulls_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls{/number}","milestones_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/milestones{/number}","notifications_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/labels{/name}","releases_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/releases{/id}","created_at":"2013-11-05T06:12:57Z","updated_at":"2015-04-24T22:29:20Z","pushed_at":"2015-04-27T23:58:41Z","git_url":"git://github.com/BloomBooks/BloomDesktop.git","ssh_url":"git@github.com:BloomBooks/BloomDesktop.git","clone_url":"https://github.com/BloomBooks/BloomDesktop.git","svn_url":"https://github.com/BloomBooks/BloomDesktop","homepage":"http://bloomlibrary.org/","size":61072,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431"},"html":{"href":"https://github.com/BloomBooks/BloomDesktop/pull/431"},"issue":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/431"},"comments":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/431/comments"},"review_comments":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431/comments"},"review_comment":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/431/commits"},"statuses":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/statuses/598c22de45b68fa305a666e8a8eefe25beaa5159"}}}}