silverstripe/silverstripe-framework — pull request #2200 by hafriedlander (2013-07-05 04:06:15+00:00)
Title: FIX Director::forceSSL and forceWWW not setting Vary header

If you have a Varnish box in front of a SilverStripe install, and
you call forceSSL, the Vary header wouldnt get sent. As a result
Varnish would respond with the same redirect reponse after the
redirect, leading to an infinite loop