{"action":"opened","issue":{"url":"https://api.github.com/repos/skoczen/django-seo-js/issues/16","labels_url":"https://api.github.com/repos/skoczen/django-seo-js/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/skoczen/django-seo-js/issues/16/comments","events_url":"https://api.github.com/repos/skoczen/django-seo-js/issues/16/events","html_url":"https://github.com/skoczen/django-seo-js/issues/16","id":58773497,"number":16,"title":"Add html5 push state middleware","user":{"login":"thoop","id":1259374,"avatar_url":"https://avatars.githubusercontent.com/u/1259374?v=3","gravatar_id":"","url":"https://api.github.com/users/thoop","html_url":"https://github.com/thoop","followers_url":"https://api.github.com/users/thoop/followers","following_url":"https://api.github.com/users/thoop/following{/other_user}","gists_url":"https://api.github.com/users/thoop/gists{/gist_id}","starred_url":"https://api.github.com/users/thoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoop/subscriptions","organizations_url":"https://api.github.com/users/thoop/orgs","repos_url":"https://api.github.com/users/thoop/repos","events_url":"https://api.github.com/users/thoop/events{/privacy}","received_events_url":"https://api.github.com/users/thoop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T17:36:56Z","updated_at":"2015-02-24T17:36:56Z","closed_at":null,"body":"It looks like the hashbang middleware checks for _escaped_fragment_ but the html5 push state section of the escaped fragment protocol says that URLs like:\r\n\r\n`http://www.example.com/user/1` with the `<meta name=\"fragment\" content=\"!\">` meta tag will be accessed like:\r\n\r\n`http://www.example.com/user/1?_escaped_fragment_=`\r\n\r\nThe current hashbang middleware might catch that case just fine but I had someone ask a question where it wasn't working because they took the hashbang middleware hour since they used html5 push state.\r\n\r\nIf the hashbang middleware would work for this case, then maybe that middleware should just be changed to escapedfragment or something instead of hashbang.\r\n\r\nThanks!"}}