{"action":"created","issue":{"url":"https://api.github.com/repos/lepture/flask-wtf/issues/285","repository_url":"https://api.github.com/repos/lepture/flask-wtf","labels_url":"https://api.github.com/repos/lepture/flask-wtf/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/lepture/flask-wtf/issues/285/comments","events_url":"https://api.github.com/repos/lepture/flask-wtf/issues/285/events","html_url":"https://github.com/lepture/flask-wtf/issues/285","id":215359684,"number":285,"title":"WTF_CSRF_SSL_STRICT with subdomains","user":{"login":"roganov","id":1858503,"avatar_url":"https://avatars2.githubusercontent.com/u/1858503?v=4","gravatar_id":"","url":"https://api.github.com/users/roganov","html_url":"https://github.com/roganov","followers_url":"https://api.github.com/users/roganov/followers","following_url":"https://api.github.com/users/roganov/following{/other_user}","gists_url":"https://api.github.com/users/roganov/gists{/gist_id}","starred_url":"https://api.github.com/users/roganov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roganov/subscriptions","organizations_url":"https://api.github.com/users/roganov/orgs","repos_url":"https://api.github.com/users/roganov/repos","events_url":"https://api.github.com/users/roganov/events{/privacy}","received_events_url":"https://api.github.com/users/roganov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-20T09:00:30Z","updated_at":"2017-12-31T07:17:17Z","closed_at":null,"author_association":"NONE","body":"Currently referrer checking fails if hosts don't match exactly, which is not desirable for applications that use subdomains.\r\nTo address this, we can either introduce a new configuration option that specifically allows subdomains, or alternatively referrers can be \"normalized\" to `flask.SERVER_NAME` and then checked, though I'm not sure if this is secure."},"comment":{"url":"https://api.github.com/repos/lepture/flask-wtf/issues/comments/354589385","html_url":"https://github.com/lepture/flask-wtf/issues/285#issuecomment-354589385","issue_url":"https://api.github.com/repos/lepture/flask-wtf/issues/285","id":354589385,"user":{"login":"erwinyusrizal","id":3752374,"avatar_url":"https://avatars0.githubusercontent.com/u/3752374?v=4","gravatar_id":"","url":"https://api.github.com/users/erwinyusrizal","html_url":"https://github.com/erwinyusrizal","followers_url":"https://api.github.com/users/erwinyusrizal/followers","following_url":"https://api.github.com/users/erwinyusrizal/following{/other_user}","gists_url":"https://api.github.com/users/erwinyusrizal/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinyusrizal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinyusrizal/subscriptions","organizations_url":"https://api.github.com/users/erwinyusrizal/orgs","repos_url":"https://api.github.com/users/erwinyusrizal/repos","events_url":"https://api.github.com/users/erwinyusrizal/events{/privacy}","received_events_url":"https://api.github.com/users/erwinyusrizal/received_events","type":"User","site_admin":false},"created_at":"2017-12-31T07:17:17Z","updated_at":"2017-12-31T07:17:17Z","author_association":"NONE","body":"I got it, it's because similar to @roganov solutions, I disabled WTF_CSRF_SSL_STRICT"}}
{"actor":{"display_login":"erwinyusrizal"}}