Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sso-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
id
sso-server
Commits
e66327c0
Commit
e66327c0
authored
6 months ago
by
ale
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-service-rx' into 'master'
Fix service validation See merge request
!126
parents
5c97048c
ab2cbbc9
No related branches found
No related tags found
1 merge request
!126
Fix service validation
Pipeline
#84255
passed
5 months ago
Stage: test
Stage: build
Stage: release
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/service.go
+1
-1
1 addition, 1 deletion
server/service.go
with
1 addition
and
1 deletion
server/service.go
+
1
−
1
View file @
e66327c0
...
@@ -31,7 +31,7 @@ var (
...
@@ -31,7 +31,7 @@ var (
// group ACLs do not match the current ticket.
// group ACLs do not match the current ticket.
ErrUnauthorized
=
errors
.
New
(
"unauthorized"
)
ErrUnauthorized
=
errors
.
New
(
"unauthorized"
)
serviceRx
=
regexp
.
MustCompile
(
`^(?:(?:[a-z0-9][-a-z0-9]*\.)+[a-z]{2,
4
}|localhost)(?::[0-9]{2,5})?(?:/.*)?/$`
)
serviceRx
=
regexp
.
MustCompile
(
`^(?:(?:[a-z0-9][-a-z0-9]*\.)+[a-z]{2,}|localhost)(?::[0-9]{2,5})?(?:/.*)?/$`
)
)
)
// LoginService provides the business logic for the SSO server,
// LoginService provides the business logic for the SSO server,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment