{"action":"closed","number":46,"pull_request":{"url":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/46","id":35664369,"html_url":"https://github.com/eliotsykes/rack-zippy/pull/46","diff_url":"https://github.com/eliotsykes/rack-zippy/pull/46.diff","patch_url":"https://github.com/eliotsykes/rack-zippy/pull/46.patch","issue_url":"https://api.github.com/repos/eliotsykes/rack-zippy/issues/46","number":46,"state":"closed","locked":false,"title":"allow paths with periods in the middle, but not with leading slash","user":{"login":"ssemakov","id":4999020,"avatar_url":"https://avatars.githubusercontent.com/u/4999020?v=3","gravatar_id":"","url":"https://api.github.com/users/ssemakov","html_url":"https://github.com/ssemakov","followers_url":"https://api.github.com/users/ssemakov/followers","following_url":"https://api.github.com/users/ssemakov/following{/other_user}","gists_url":"https://api.github.com/users/ssemakov/gists{/gist_id}","starred_url":"https://api.github.com/users/ssemakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssemakov/subscriptions","organizations_url":"https://api.github.com/users/ssemakov/orgs","repos_url":"https://api.github.com/users/ssemakov/repos","events_url":"https://api.github.com/users/ssemakov/events{/privacy}","received_events_url":"https://api.github.com/users/ssemakov/received_events","type":"User","site_admin":false},"body":"Hey,\r\n\r\nthis is about multiple dots in URL problem. \r\nI know you've been working on this before (https://github.com/eliotsykes/rack-zippy/issues/17), but  I want to propose a bit modified solution that I've created for myself. It allows paths like /something...with..dots/ but still respond 404 on paths like /.. or /..something\r\n\r\nThanks,\r\n-Simon","created_at":"2015-05-18T19:15:58Z","updated_at":"2015-05-19T13:43:00Z","closed_at":"2015-05-19T13:43:00Z","merged_at":"2015-05-19T13:43:00Z","merge_commit_sha":"6070c9a125eae8662125127cdda23c7adb509e76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/46/commits","review_comments_url":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/46/comments","review_comment_url":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eliotsykes/rack-zippy/issues/46/comments","statuses_url":"https://api.github.com/repos/eliotsykes/rack-zippy/statuses/c39d5594eb04c5a640fdf67f634fefabe9178278","head":{"label":"ssemakov:master","ref":"master","sha":"c39d5594eb04c5a640fdf67f634fefabe9178278","user":{"login":"ssemakov","id":4999020,"avatar_url":"https://avatars.githubusercontent.com/u/4999020?v=3","gravatar_id":"","url":"https://api.github.com/users/ssemakov","html_url":"https://github.com/ssemakov","followers_url":"https://api.github.com/users/ssemakov/followers","following_url":"https://api.github.com/users/ssemakov/following{/other_user}","gists_url":"https://api.github.com/users/ssemakov/gists{/gist_id}","starred_url":"https://api.github.com/users/ssemakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssemakov/subscriptions","organizations_url":"https://api.github.com/users/ssemakov/orgs","repos_url":"https://api.github.com/users/ssemakov/repos","events_url":"https://api.github.com/users/ssemakov/events{/privacy}","received_events_url":"https://api.github.com/users/ssemakov/received_events","type":"User","site_admin":false},"repo":{"id":35832748,"name":"rack-zippy","full_name":"ssemakov/rack-zippy","owner":{"login":"ssemakov","id":4999020,"avatar_url":"https://avatars.githubusercontent.com/u/4999020?v=3","gravatar_id":"","url":"https://api.github.com/users/ssemakov","html_url":"https://github.com/ssemakov","followers_url":"https://api.github.com/users/ssemakov/followers","following_url":"https://api.github.com/users/ssemakov/following{/other_user}","gists_url":"https://api.github.com/users/ssemakov/gists{/gist_id}","starred_url":"https://api.github.com/users/ssemakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssemakov/subscriptions","organizations_url":"https://api.github.com/users/ssemakov/orgs","repos_url":"https://api.github.com/users/ssemakov/repos","events_url":"https://api.github.com/users/ssemakov/events{/privacy}","received_events_url":"https://api.github.com/users/ssemakov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssemakov/rack-zippy","description":"Rack middleware for serving static gzipped assets generated by the Rails asset pipeline","fork":true,"url":"https://api.github.com/repos/ssemakov/rack-zippy","forks_url":"https://api.github.com/repos/ssemakov/rack-zippy/forks","keys_url":"https://api.github.com/repos/ssemakov/rack-zippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssemakov/rack-zippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssemakov/rack-zippy/teams","hooks_url":"https://api.github.com/repos/ssemakov/rack-zippy/hooks","issue_events_url":"https://api.github.com/repos/ssemakov/rack-zippy/issues/events{/number}","events_url":"https://api.github.com/repos/ssemakov/rack-zippy/events","assignees_url":"https://api.github.com/repos/ssemakov/rack-zippy/assignees{/user}","branches_url":"https://api.github.com/repos/ssemakov/rack-zippy/branches{/branch}","tags_url":"https://api.github.com/repos/ssemakov/rack-zippy/tags","blobs_url":"https://api.github.com/repos/ssemakov/rack-zippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssemakov/rack-zippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssemakov/rack-zippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssemakov/rack-zippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssemakov/rack-zippy/statuses/{sha}","languages_url":"https://api.github.com/repos/ssemakov/rack-zippy/languages","stargazers_url":"https://api.github.com/repos/ssemakov/rack-zippy/stargazers","contributors_url":"https://api.github.com/repos/ssemakov/rack-zippy/contributors","subscribers_url":"https://api.github.com/repos/ssemakov/rack-zippy/subscribers","subscription_url":"https://api.github.com/repos/ssemakov/rack-zippy/subscription","commits_url":"https://api.github.com/repos/ssemakov/rack-zippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssemakov/rack-zippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssemakov/rack-zippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssemakov/rack-zippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssemakov/rack-zippy/contents/{+path}","compare_url":"https://api.github.com/repos/ssemakov/rack-zippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssemakov/rack-zippy/merges","archive_url":"https://api.github.com/repos/ssemakov/rack-zippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssemakov/rack-zippy/downloads","issues_url":"https://api.github.com/repos/ssemakov/rack-zippy/issues{/number}","pulls_url":"https://api.github.com/repos/ssemakov/rack-zippy/pulls{/number}","milestones_url":"https://api.github.com/repos/ssemakov/rack-zippy/milestones{/number}","notifications_url":"https://api.github.com/repos/ssemakov/rack-zippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssemakov/rack-zippy/labels{/name}","releases_url":"https://api.github.com/repos/ssemakov/rack-zippy/releases{/id}","created_at":"2015-05-18T17:41:31Z","updated_at":"2015-05-18T17:41:31Z","pushed_at":"2015-05-19T13:15:16Z","git_url":"git://github.com/ssemakov/rack-zippy.git","ssh_url":"git@github.com:ssemakov/rack-zippy.git","clone_url":"https://github.com/ssemakov/rack-zippy.git","svn_url":"https://github.com/ssemakov/rack-zippy","homepage":null,"size":820,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"eliotsykes:master","ref":"master","sha":"8829299d50ebfcde4b0dd22a9da25a74c5a2f1a3","user":{"login":"eliotsykes","id":31698,"avatar_url":"https://avatars.githubusercontent.com/u/31698?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotsykes","html_url":"https://github.com/eliotsykes","followers_url":"https://api.github.com/users/eliotsykes/followers","following_url":"https://api.github.com/users/eliotsykes/following{/other_user}","gists_url":"https://api.github.com/users/eliotsykes/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotsykes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotsykes/subscriptions","organizations_url":"https://api.github.com/users/eliotsykes/orgs","repos_url":"https://api.github.com/users/eliotsykes/repos","events_url":"https://api.github.com/users/eliotsykes/events{/privacy}","received_events_url":"https://api.github.com/users/eliotsykes/received_events","type":"User","site_admin":false},"repo":{"id":12160142,"name":"rack-zippy","full_name":"eliotsykes/rack-zippy","owner":{"login":"eliotsykes","id":31698,"avatar_url":"https://avatars.githubusercontent.com/u/31698?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotsykes","html_url":"https://github.com/eliotsykes","followers_url":"https://api.github.com/users/eliotsykes/followers","following_url":"https://api.github.com/users/eliotsykes/following{/other_user}","gists_url":"https://api.github.com/users/eliotsykes/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotsykes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotsykes/subscriptions","organizations_url":"https://api.github.com/users/eliotsykes/orgs","repos_url":"https://api.github.com/users/eliotsykes/repos","events_url":"https://api.github.com/users/eliotsykes/events{/privacy}","received_events_url":"https://api.github.com/users/eliotsykes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eliotsykes/rack-zippy","description":"Rack middleware for serving static gzipped assets generated by the Rails asset pipeline","fork":false,"url":"https://api.github.com/repos/eliotsykes/rack-zippy","forks_url":"https://api.github.com/repos/eliotsykes/rack-zippy/forks","keys_url":"https://api.github.com/repos/eliotsykes/rack-zippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eliotsykes/rack-zippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eliotsykes/rack-zippy/teams","hooks_url":"https://api.github.com/repos/eliotsykes/rack-zippy/hooks","issue_events_url":"https://api.github.com/repos/eliotsykes/rack-zippy/issues/events{/number}","events_url":"https://api.github.com/repos/eliotsykes/rack-zippy/events","assignees_url":"https://api.github.com/repos/eliotsykes/rack-zippy/assignees{/user}","branches_url":"https://api.github.com/repos/eliotsykes/rack-zippy/branches{/branch}","tags_url":"https://api.github.com/repos/eliotsykes/rack-zippy/tags","blobs_url":"https://api.github.com/repos/eliotsykes/rack-zippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eliotsykes/rack-zippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eliotsykes/rack-zippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/eliotsykes/rack-zippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eliotsykes/rack-zippy/statuses/{sha}","languages_url":"https://api.github.com/repos/eliotsykes/rack-zippy/languages","stargazers_url":"https://api.github.com/repos/eliotsykes/rack-zippy/stargazers","contributors_url":"https://api.github.com/repos/eliotsykes/rack-zippy/contributors","subscribers_url":"https://api.github.com/repos/eliotsykes/rack-zippy/subscribers","subscription_url":"https://api.github.com/repos/eliotsykes/rack-zippy/subscription","commits_url":"https://api.github.com/repos/eliotsykes/rack-zippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/eliotsykes/rack-zippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/eliotsykes/rack-zippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/eliotsykes/rack-zippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/eliotsykes/rack-zippy/contents/{+path}","compare_url":"https://api.github.com/repos/eliotsykes/rack-zippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eliotsykes/rack-zippy/merges","archive_url":"https://api.github.com/repos/eliotsykes/rack-zippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eliotsykes/rack-zippy/downloads","issues_url":"https://api.github.com/repos/eliotsykes/rack-zippy/issues{/number}","pulls_url":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls{/number}","milestones_url":"https://api.github.com/repos/eliotsykes/rack-zippy/milestones{/number}","notifications_url":"https://api.github.com/repos/eliotsykes/rack-zippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eliotsykes/rack-zippy/labels{/name}","releases_url":"https://api.github.com/repos/eliotsykes/rack-zippy/releases{/id}","created_at":"2013-08-16T14:17:46Z","updated_at":"2015-05-17T12:10:14Z","pushed_at":"2015-05-19T13:43:00Z","git_url":"git://github.com/eliotsykes/rack-zippy.git","ssh_url":"git@github.com:eliotsykes/rack-zippy.git","clone_url":"https://github.com/eliotsykes/rack-zippy.git","svn_url":"https://github.com/eliotsykes/rack-zippy","homepage":null,"size":820,"stargazers_count":136,"watchers_count":136,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":11,"forks":25,"open_issues":11,"watchers":136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/46"},"html":{"href":"https://github.com/eliotsykes/rack-zippy/pull/46"},"issue":{"href":"https://api.github.com/repos/eliotsykes/rack-zippy/issues/46"},"comments":{"href":"https://api.github.com/repos/eliotsykes/rack-zippy/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eliotsykes/rack-zippy/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/eliotsykes/rack-zippy/statuses/c39d5594eb04c5a640fdf67f634fefabe9178278"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"eliotsykes","id":31698,"avatar_url":"https://avatars.githubusercontent.com/u/31698?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotsykes","html_url":"https://github.com/eliotsykes","followers_url":"https://api.github.com/users/eliotsykes/followers","following_url":"https://api.github.com/users/eliotsykes/following{/other_user}","gists_url":"https://api.github.com/users/eliotsykes/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotsykes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotsykes/subscriptions","organizations_url":"https://api.github.com/users/eliotsykes/orgs","repos_url":"https://api.github.com/users/eliotsykes/repos","events_url":"https://api.github.com/users/eliotsykes/events{/privacy}","received_events_url":"https://api.github.com/users/eliotsykes/received_events","type":"User","site_admin":false},"comments":1,"review_comments":4,"commits":2,"additions":9,"deletions":2,"changed_files":2}}