{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/aa5a446e81f3256897b8480ea93ac8c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"aa5a446e81f3256897b8480ea93ac8c9","url":"https://api.github.com/users/dokai","login":"dokai","id":5369},"labels":[],"assignee":null,"updated_at":"2011-11-16T23:36:30Z","comments":8,"closed_at":null,"url":"https://api.github.com/repos/Pylons/pyramid/issues/131","body":"The pyramid.authentication.AuthTktCookieHelper._get_cookies() method sets the\n\n  Domain=XXX\n\npart of the authentication cookie to a value of\n\n  cur_domain = environ.get('HTTP_HOST', environ.get('SERVER_NAME'))\n\nIn some cases the HTTP_HOST environment variable may contain a port number in addition to the domain name, e.g. www.foobar.com:80. Including the port number in the Domain part works for many browsers (Safari, Chrome, Firefox, IE) with the exception of (at least) Opera.\n\nIf the Set-Cookie headers included the port number (e.g. www.foobar.com:80) Opera will simply not send the cookies when accessing the site without the port number (e.g. www.foobar.com) which effectively makes it impossible to log in to a site with Opera.\n\nA possible fix would be to unconditionally strip the port information in _get_cookies():\n\n  cur_domain = environ.get('HTTP_HOST', environ.get('SERVER_NAME')).split(':', 1)[0]\n\ncheers,\nKai","html_url":"https://github.com/Pylons/pyramid/issues/131","title":"AuthTktCookieHelper includes port number in cookie domain breaking login for some browsers.","number":131,"id":617408,"created_at":"2011-02-22T11:53:55Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/a709fd00fc849280c23233ef0a01c5dc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a709fd00fc849280c23233ef0a01c5dc","url":"https://api.github.com/users/mcdonc","login":"mcdonc","id":125174},"updated_at":"2011-11-16T23:36:30Z","url":"https://api.github.com/repos/Pylons/pyramid/issues/comments/2769976","body":"this symtpom seems in 100% direct opposition to the original bug report.","id":2769976,"created_at":"2011-11-16T23:36:30Z"}}