When redirecting, don't trust the self.scheme to select the scheme (for reasons explained in #2553 and #3208), but rather use the base_url information derived from the trac.ini. This fixes #2553 by applying pkoelle's patch. This is probably not the last word on the matter though, because of #5064.
When redirecting, don't trust the self.scheme to select the scheme (for reasons explained in #2553 and #3208), but rather use the base_url information derived from the trac.ini. This fixes #2553 by applying pkoelle's patch. This is probably not the last word on the matter though, because of #5064.

git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@5642 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac