]> source.dussan.org Git - gitea.git/commit
Backport #5537 Remove a double slash in the HTTPS redirect with Let's Encrypt (#5539)
authorGreg Karékinian <greg@karekinian.com>
Thu, 13 Dec 2018 15:42:38 +0000 (16:42 +0100)
committertechknowlogick <hello@techknowlogick.com>
Thu, 13 Dec 2018 15:42:38 +0000 (10:42 -0500)
commit200b974e198f5a18bf8b6638e1f8f21de17602fb
tree2e944ab3db554da0c175c1125d6eadbb6c2e2b74
parent800271ee1fd1360a24199a4f597541fdd4c1f114
Backport #5537 Remove a double slash in the HTTPS redirect with Let's Encrypt (#5539)

Before:

$ curl 0.0.0.0:3001
<a href="https://gitea.example.com:3000//">Found</a>.

After:

$ curl 0.0.0.0:3001
<a href="https://gitea.example.com:3000/">Found</a>.

Fixes #5536
cmd/web.go