{"action":"created","issue":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/401","labels_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/401/comments","events_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/401/events","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/401","id":53168518,"number":401,"title":"Error page redirects to login","user":{"login":"paulrohrbeck","id":1151124,"avatar_url":"https://avatars.githubusercontent.com/u/1151124?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrohrbeck","html_url":"https://github.com/paulrohrbeck","followers_url":"https://api.github.com/users/paulrohrbeck/followers","following_url":"https://api.github.com/users/paulrohrbeck/following{/other_user}","gists_url":"https://api.github.com/users/paulrohrbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrohrbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrohrbeck/subscriptions","organizations_url":"https://api.github.com/users/paulrohrbeck/orgs","repos_url":"https://api.github.com/users/paulrohrbeck/repos","events_url":"https://api.github.com/users/paulrohrbeck/events{/privacy}","received_events_url":"https://api.github.com/users/paulrohrbeck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"davidjgonzalez","id":1451868,"avatar_url":"https://avatars.githubusercontent.com/u/1451868?v=3","gravatar_id":"","url":"https://api.github.com/users/davidjgonzalez","html_url":"https://github.com/davidjgonzalez","followers_url":"https://api.github.com/users/davidjgonzalez/followers","following_url":"https://api.github.com/users/davidjgonzalez/following{/other_user}","gists_url":"https://api.github.com/users/davidjgonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/davidjgonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidjgonzalez/subscriptions","organizations_url":"https://api.github.com/users/davidjgonzalez/orgs","repos_url":"https://api.github.com/users/davidjgonzalez/repos","events_url":"https://api.github.com/users/davidjgonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/davidjgonzalez/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/milestones/21","labels_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/milestones/21/labels","id":873509,"number":21,"title":"1.10.0","description":"","creator":{"login":"justinedelson","id":65906,"avatar_url":"https://avatars.githubusercontent.com/u/65906?v=3","gravatar_id":"","url":"https://api.github.com/users/justinedelson","html_url":"https://github.com/justinedelson","followers_url":"https://api.github.com/users/justinedelson/followers","following_url":"https://api.github.com/users/justinedelson/following{/other_user}","gists_url":"https://api.github.com/users/justinedelson/gists{/gist_id}","starred_url":"https://api.github.com/users/justinedelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinedelson/subscriptions","organizations_url":"https://api.github.com/users/justinedelson/orgs","repos_url":"https://api.github.com/users/justinedelson/repos","events_url":"https://api.github.com/users/justinedelson/events{/privacy}","received_events_url":"https://api.github.com/users/justinedelson/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":4,"state":"open","created_at":"2014-11-19T23:11:55Z","updated_at":"2015-01-19T17:53:37Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2014-12-31T05:49:39Z","updated_at":"2015-01-19T21:25:41Z","closed_at":"2015-01-19T17:53:37Z","body":"I'm not sure if this is actually an issue or if I'm just missing something.. On my Publish instance the user gets redirected to the login page [1] when hitting a page that doesn't exist. If I'm logged in, I get the error page just fine. \r\nLooking at the code it sounds like this is handled in the function \"doHandle404()\". However, where does it actually check if we are on an Author or on a Publish instance? It seems for me it always meets the first condition:\r\n\r\n```java\r\n        if (this.getStatusCode(request) == SlingHttpServletResponse.SC_NOT_FOUND\r\n                && this.isAnonymousRequest(request)\r\n                && AuthUtil.isBrowserRequest(request)) {\r\n```\r\n\r\n1. It's a 404 request\r\n2. it's anonymous (user is not logged in)\r\n3. it's a browser request\r\n\r\nAm I missing something or how does it check for Author/Publish?\r\n\r\n[1] /content/geometrixx/en/toolbar/account/login.html"},"comment":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/comments/70563702","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/401#issuecomment-70563702","issue_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/401","id":70563702,"user":{"login":"paulrohrbeck","id":1151124,"avatar_url":"https://avatars.githubusercontent.com/u/1151124?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrohrbeck","html_url":"https://github.com/paulrohrbeck","followers_url":"https://api.github.com/users/paulrohrbeck/followers","following_url":"https://api.github.com/users/paulrohrbeck/following{/other_user}","gists_url":"https://api.github.com/users/paulrohrbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrohrbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrohrbeck/subscriptions","organizations_url":"https://api.github.com/users/paulrohrbeck/orgs","repos_url":"https://api.github.com/users/paulrohrbeck/repos","events_url":"https://api.github.com/users/paulrohrbeck/events{/privacy}","received_events_url":"https://api.github.com/users/paulrohrbeck/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T21:25:41Z","updated_at":"2015-01-19T21:25:41Z","body":"Awesome, thanks so much for your help on this!"}}