[Catalyst] Force https in generated URIs

Tobias Klug tklug at hartle-klug.de
Thu Aug 4 15:18:18 GMT 2011


Hello,

I am looking for a way to configure Catalyst in a way that all URIs
generated are forced to use https. The default behaviour seems to always
use the same scheme as the incoming request.

I have looked at Plugin::SmartURI, but that only allows
relative/absolute/hostless-URIs. I would probably have to subclass
SmartURI, but have no idea how to do that.

Thanks for your help.

Regards,

Tobias



More information about the Catalyst mailing list