{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/168948786","pull_request_review_id":97400427,"id":168948786,"diff_hunk":"@@ -27,7 +27,9 @@ new URL with a 301 response status code::\n \n             $url = str_replace($pathInfo, rtrim($pathInfo, ' /'), $requestUri);","path":"routing/redirect_trailing_slash.rst","position":11,"original_position":11,"commit_id":"f8f6bda2742310a1dc1d22484315df1f6d98147b","original_commit_id":"f8f6bda2742310a1dc1d22484315df1f6d98147b","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars0.githubusercontent.com/u/1698357?v=4","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"body":"Not related, but we can take benefit to fix it: why a space on `rtrim` second argument?","created_at":"2018-02-18T11:38:21Z","updated_at":"2018-02-18T11:38:21Z","html_url":"https://github.com/symfony/symfony-docs/pull/9286#discussion_r168948786","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/168948786"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/9286#discussion_r168948786"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286","id":169788926,"html_url":"https://github.com/symfony/symfony-docs/pull/9286","diff_url":"https://github.com/symfony/symfony-docs/pull/9286.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/9286.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/9286","number":9286,"state":"open","locked":false,"title":"Use 308 to ensure http method is preserved","user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars1.githubusercontent.com/u/657779?v=4","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"body":"307 and 308 were introduced exactly to solve this issue.","created_at":"2018-02-17T15:56:04Z","updated_at":"2018-02-18T11:38:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d58a84abb1408fbc1825ebb118c15e1782b3595c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":122168046,"url":"https://api.github.com/repos/symfony/symfony-docs/labels/Status:%20Reviewed","name":"Status: Reviewed","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/9286/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/f8f6bda2742310a1dc1d22484315df1f6d98147b","head":{"label":"greg0ire:308_trailing_slash","ref":"308_trailing_slash","sha":"f8f6bda2742310a1dc1d22484315df1f6d98147b","user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars1.githubusercontent.com/u/657779?v=4","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"repo":{"id":5755889,"name":"symfony-docs","full_name":"greg0ire/symfony-docs","owner":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars1.githubusercontent.com/u/657779?v=4","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greg0ire/symfony-docs","description":"The Symfony2 documentation","fork":true,"url":"https://api.github.com/repos/greg0ire/symfony-docs","forks_url":"https://api.github.com/repos/greg0ire/symfony-docs/forks","keys_url":"https://api.github.com/repos/greg0ire/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greg0ire/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greg0ire/symfony-docs/teams","hooks_url":"https://api.github.com/repos/greg0ire/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/greg0ire/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/greg0ire/symfony-docs/events","assignees_url":"https://api.github.com/repos/greg0ire/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/greg0ire/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/greg0ire/symfony-docs/tags","blobs_url":"https://api.github.com/repos/greg0ire/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greg0ire/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greg0ire/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/greg0ire/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greg0ire/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/greg0ire/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/greg0ire/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/greg0ire/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/greg0ire/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/greg0ire/symfony-docs/subscription","commits_url":"https://api.github.com/repos/greg0ire/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/greg0ire/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/greg0ire/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/greg0ire/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/greg0ire/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/greg0ire/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greg0ire/symfony-docs/merges","archive_url":"https://api.github.com/repos/greg0ire/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greg0ire/symfony-docs/downloads","issues_url":"https://api.github.com/repos/greg0ire/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/greg0ire/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/greg0ire/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/greg0ire/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greg0ire/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/greg0ire/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/greg0ire/symfony-docs/deployments","created_at":"2012-09-10T21:04:15Z","updated_at":"2017-03-10T17:21:42Z","pushed_at":"2018-02-18T10:53:32Z","git_url":"git://github.com/greg0ire/symfony-docs.git","ssh_url":"git@github.com:greg0ire/symfony-docs.git","clone_url":"https://github.com/greg0ire/symfony-docs.git","svn_url":"https://github.com/greg0ire/symfony-docs","homepage":"http://symfony.com/doc/2.0/","size":42935,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony:2.7","ref":"2.7","sha":"97a3616c4af749b09008a32114db6bca6647743d","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars3.githubusercontent.com/u/143937?v=4","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":521583,"name":"symfony-docs","full_name":"symfony/symfony-docs","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars3.githubusercontent.com/u/143937?v=4","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-docs","description":"The Symfony documentation","fork":false,"url":"https://api.github.com/repos/symfony/symfony-docs","forks_url":"https://api.github.com/repos/symfony/symfony-docs/forks","keys_url":"https://api.github.com/repos/symfony/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-docs/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-docs/events","assignees_url":"https://api.github.com/repos/symfony/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-docs/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-docs/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-docs/merges","archive_url":"https://api.github.com/repos/symfony/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-docs/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony-docs/deployments","created_at":"2010-02-17T08:43:51Z","updated_at":"2018-02-16T06:44:53Z","pushed_at":"2018-02-18T11:25:13Z","git_url":"git://github.com/symfony/symfony-docs.git","ssh_url":"git@github.com:symfony/symfony-docs.git","clone_url":"https://github.com/symfony/symfony-docs.git","svn_url":"https://github.com/symfony/symfony-docs","homepage":"http://symfony.com/doc","size":44896,"stargazers_count":1360,"watchers_count":1360,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3383,"mirror_url":null,"archived":false,"open_issues_count":313,"license":null,"forks":3383,"open_issues":313,"watchers":1360,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/9286"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/9286"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/9286/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/9286/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/f8f6bda2742310a1dc1d22484315df1f6d98147b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Soullivaneuh"}}