Verified Commit baba48d5 authored by Lukas Wiest's avatar Lukas Wiest 🚂
Browse files

fix(systems/gitlab): allow gitlab root at subpath on non-standard port

parent 9fcdd462
......@@ -26,7 +26,7 @@ public class GitlabTicketSystem extends TicketSystem<GitlabTicket, GitlabTicketS
*/
public static GitlabTicketSystem fromUri(String uri)
{
Matcher matcher = Pattern.compile("^((http|https):\\/\\/)?(.*(:[0-9]+)?):([0-9]+)(:(.*))?$").matcher(uri);
Matcher matcher = Pattern.compile("^((http|https):\\/\\/)?(.*(:[0-9]+.*)?):([0-9]+)(:(.*))?$").matcher(uri);
if (!matcher.matches())
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment