diff options
author | James Moger <james.moger@gitblit.com> | 2013-03-29 09:35:06 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-03-29 09:35:06 -0400 |
commit | 70a0c76b7eef4da44eb14dfef8db106389a8940e (patch) | |
tree | 81a5f3e9b4501bfd8d67b73f44a63c7fa2fa1043 /src | |
parent | 59f09bdd4536dc3584c779c3985e4ff49d4a7e69 (diff) | |
download | gitblit-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.java | 2 |
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) {
|