{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/5019","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5019/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5019/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5019/events","html_url":"https://github.com/joomla/joomla-cms/pull/5019","id":48154805,"number":5019,"title":"Fixed wrong redirection by menu item","user":{"login":"clinchergt","id":1283149,"avatar_url":"https://avatars.githubusercontent.com/u/1283149?v=3","gravatar_id":"","url":"https://api.github.com/users/clinchergt","html_url":"https://github.com/clinchergt","followers_url":"https://api.github.com/users/clinchergt/followers","following_url":"https://api.github.com/users/clinchergt/following{/other_user}","gists_url":"https://api.github.com/users/clinchergt/gists{/gist_id}","starred_url":"https://api.github.com/users/clinchergt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clinchergt/subscriptions","organizations_url":"https://api.github.com/users/clinchergt/orgs","repos_url":"https://api.github.com/users/clinchergt/repos","events_url":"https://api.github.com/users/clinchergt/events{/privacy}","received_events_url":"https://api.github.com/users/clinchergt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-11-08T04:04:34Z","updated_at":"2015-05-09T05:46:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/5019","html_url":"https://github.com/joomla/joomla-cms/pull/5019","diff_url":"https://github.com/joomla/joomla-cms/pull/5019.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/5019.patch"},"body":"An attempt to fix issue #4934 \r\n\r\n#### Steps to reproduce the issue\r\n\r\n1. create an article for registered users only,\r\n2. create a menu item to aforementioned article,\r\n3. go to the front-end of the site and log in,\r\n4. access the article through the menu item,\r\n5. log out,\r\n6. click menu item.\r\n\r\n#### Expected result\r\nGet error explaining I'm not authorized to access the article since I'm not logged in.\r\n\r\n#### Additional Information\r\n\r\nProblem seemed to only be happening with Firefox.\r\n\r\nMake sure to use an incognito/private browsing window to ensure that neither cookies nor the cache will affect the testing.\r\n\r\nIf you try accessing the article without ever having logged in, you'll get what was described in the \"Expected result\" section, so it's the logging in that's causing this behaviour after logging out."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/100432534","html_url":"https://github.com/joomla/joomla-cms/pull/5019#issuecomment-100432534","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5019","id":100432534,"user":{"login":"jissereitsma","id":7670482,"avatar_url":"https://avatars.githubusercontent.com/u/7670482?v=3","gravatar_id":"","url":"https://api.github.com/users/jissereitsma","html_url":"https://github.com/jissereitsma","followers_url":"https://api.github.com/users/jissereitsma/followers","following_url":"https://api.github.com/users/jissereitsma/following{/other_user}","gists_url":"https://api.github.com/users/jissereitsma/gists{/gist_id}","starred_url":"https://api.github.com/users/jissereitsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jissereitsma/subscriptions","organizations_url":"https://api.github.com/users/jissereitsma/orgs","repos_url":"https://api.github.com/users/jissereitsma/repos","events_url":"https://api.github.com/users/jissereitsma/events{/privacy}","received_events_url":"https://api.github.com/users/jissereitsma/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T05:46:41Z","updated_at":"2015-05-09T05:46:41Z","body":"(I'm the same guy as @Yireo) I checked the PR and it looks dead-simple to me. Next, I tested it myself to see the difference. Without the patch a 303 code is sent, with the patch a 301 code is sent. Looks fine to me!"}}