]> source.dussan.org Git - gitblit.git/commit
Fix #1114 HttpUtils getGitblitURL does not support nonstandard ports 1201/head
authorJan Breuer <jan.breuer@mobatime.cz>
Wed, 15 Feb 2017 17:58:55 +0000 (18:58 +0100)
committerJan Breuer <jan.breuer@mobatime.cz>
Wed, 15 Feb 2017 17:58:55 +0000 (18:58 +0100)
commit49bec41a98520c7e11027c681b885ab1154a99a5
tree10d260fb1be9a05a886630ee4bcaa662dc9dfc45
parentb03fc536a398a294f52d91441cbddbad392b1ae6
Fix #1114 HttpUtils getGitblitURL does not support nonstandard ports

X-Forwarded-Host can contain port number and it is added twice in that situation
This fix just prevent adding port number if it is already there
src/main/java/com/gitblit/utils/HttpUtils.java