Skip to content
Snippets Groups Projects
Commit e66327c0 authored by ale's avatar ale
Browse files

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!126Fix service validation
Pipeline #84255 passed
...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment