hhuijser/liferay-portal — pull request #1075 by zsoltbalogh (2012-11-27 22:38:02+00:00)
Title: LPS-31256 Use https port when https is forced

Sorry, I couldn't resist on fixing this one. :)

It's a pretty strange that we have this issue in so deeply in the core. I was not sure about reusing the secure boolean variable, however I was afraid of changing it inside the method.