Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Wiest
unified-ticketing
Commits
baba48d5
Verified
Commit
baba48d5
authored
Nov 16, 2020
by
Lukas Wiest
🚂
Browse files
fix(systems/gitlab): allow gitlab root at subpath on non-standard port
parent
9fcdd462
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/hftstuttgart/unifiedticketing/systems/gitlab/GitlabTicketSystem.java
View file @
baba48d5
...
...
@@ -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
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment