mikelbring/tinyissue — pull request #9 by atourino (2012-04-04 16:02:33+00:00)
Title: Makes Request::secure() take into account ssl preference

Hi. I ran into an issue with my server in which I had an https site configured but which was not the tinyissue site. Tinyissue kept trying to redirect to that other https site and failed. I thought that an easy fix would be to switch the ssl configuration option to false but that didn't seem to work. I looked in Request::secure() and saw that it looked at the server HTTPS configurations but did not recognize that they might be for another site not related to tinyissue so I added a check for the SSL configuration flag.