Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

The client name string pattern does not support '.' (dots) #51

Closed
ruKurz opened this issue Aug 24, 2017 · 1 comment
Closed

The client name string pattern does not support '.' (dots) #51

ruKurz opened this issue Aug 24, 2017 · 1 comment
Assignees

Comments

@ruKurz
Copy link
Collaborator

ruKurz commented Aug 24, 2017

Within client names dots should be allowed for backward compatibility reasons.

Currently client names containg dots are failing because the client name pattern: [a-z0-9-_:]+ does not match:

[http-nio-8080-exec-4] WARN  i.r.s.w.a.GlobalDefaultExceptionHandler - ErrorResponse (status: 500, IllegalArgumentException: Client name must match pattern: [a-z0-9-_:]+)

The pattern in should be adhusted accordingly: [a-z0-9-_:.]+
io/redlink/smarti/services/ClientService.java#27

@westei westei self-assigned this Aug 24, 2017
westei added a commit that referenced this issue Aug 24, 2017
@westei
Copy link
Member

westei commented Aug 24, 2017

changed the pattern to [a-z0-9-_\.:]+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants