summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-03-29 09:35:06 -0400
committerJames Moger <james.moger@gitblit.com>2013-03-29 09:35:06 -0400
commit70a0c76b7eef4da44eb14dfef8db106389a8940e (patch)
tree81a5f3e9b4501bfd8d67b73f44a63c7fa2fa1043 /src
parent59f09bdd4536dc3584c779c3985e4ff49d4a7e69 (diff)
downloadgitblit-70a0c76b7eef4da44eb14dfef8db106389a8940e.tar.gz
gitblit-70a0c76b7eef4da44eb14dfef8db106389a8940e.zip
Ensure Redmine url is properly formatted (issue 223)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/RedmineUserService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/RedmineUserService.java b/src/main/java/com/gitblit/RedmineUserService.java
index 9d571e37..2728e004 100644
--- a/src/main/java/com/gitblit/RedmineUserService.java
+++ b/src/main/java/com/gitblit/RedmineUserService.java
@@ -158,7 +158,7 @@ public class RedmineUserService extends GitblitUserService {
String url = this.settings.getString(Keys.realm.redmine.url, "");
if (!url.endsWith("/")) {
- url.concat("/");
+ url = url.concat("/");
}
HttpURLConnection http;
if (username == null) {