{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/760","labels_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/760/comments","events_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/760/events","html_url":"https://github.com/mitsuhiko/werkzeug/issues/760","id":100332674,"number":760,"title":"Improvement: print warning when server_name and cur_server_name don't match","user":{"login":"Alexis-benoist","id":4437159,"avatar_url":"https://avatars.githubusercontent.com/u/4437159?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexis-benoist","html_url":"https://github.com/Alexis-benoist","followers_url":"https://api.github.com/users/Alexis-benoist/followers","following_url":"https://api.github.com/users/Alexis-benoist/following{/other_user}","gists_url":"https://api.github.com/users/Alexis-benoist/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexis-benoist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexis-benoist/subscriptions","organizations_url":"https://api.github.com/users/Alexis-benoist/orgs","repos_url":"https://api.github.com/users/Alexis-benoist/repos","events_url":"https://api.github.com/users/Alexis-benoist/events{/privacy}","received_events_url":"https://api.github.com/users/Alexis-benoist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T14:59:40Z","updated_at":"2015-10-22T11:03:46Z","closed_at":null,"body":"Hello,\r\n\r\nIf the server name is misconfigured, the `subdomain` is `'<invalid>'` and no warning is printed.\r\n\r\nAn improvement could be to print a warning [(routing: 1302)](https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/routing.py#L1302) if the names don't match, instead of just returning 404 errors that to alls the pages of the application.\r\n\r\nAlexis."},"comment":{"url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/comments/150181048","html_url":"https://github.com/mitsuhiko/werkzeug/issues/760#issuecomment-150181048","issue_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/760","id":150181048,"user":{"login":"guyskk","id":6367792,"avatar_url":"https://avatars.githubusercontent.com/u/6367792?v=3","gravatar_id":"","url":"https://api.github.com/users/guyskk","html_url":"https://github.com/guyskk","followers_url":"https://api.github.com/users/guyskk/followers","following_url":"https://api.github.com/users/guyskk/following{/other_user}","gists_url":"https://api.github.com/users/guyskk/gists{/gist_id}","starred_url":"https://api.github.com/users/guyskk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyskk/subscriptions","organizations_url":"https://api.github.com/users/guyskk/orgs","repos_url":"https://api.github.com/users/guyskk/repos","events_url":"https://api.github.com/users/guyskk/events{/privacy}","received_events_url":"https://api.github.com/users/guyskk/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T11:03:46Z","updated_at":"2015-10-22T11:03:46Z","body":"+1"}}