mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-06 22:59:12 +01:00
fix bug in appendParameter method of UrlBuilder
This commit is contained in:
@@ -58,6 +58,7 @@ public class UrlBuilder
|
||||
if (baseUrl.contains(HttpUtil.SEPARATOR_PARAMETERS))
|
||||
{
|
||||
separator = HttpUtil.SEPARATOR_PARAMETER;
|
||||
parameterAdded = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -139,6 +140,7 @@ public class UrlBuilder
|
||||
{
|
||||
url = new StringBuilder(url).append(separator).append(name).append(
|
||||
HttpUtil.SEPARATOR_PARAMETER_VALUE).append(value).toString();
|
||||
separator = HttpUtil.SEPARATOR_PARAMETER;
|
||||
parameterAdded = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user