x-useragent validation
Closed this issue · 3 comments
Hi,
It seems there is a difference in RegExp-Validation between the sample Implementation of authorization-service and the OpenAPI
Setting User-Agent like this:
x-useragent: Zero-Go/0.0.1
Gives error:
vau-proxy-server | 13:06:07.585 VPS ERROR ServerExceptionHandler: {MessageType=Error, Message=Transcript Error: 400 : "{"error":"invalid_request","error_description":"getNonce.userAgent.userAgent: invalid user agent: doesn't match pattern \"^[a-zA-Z0-9]{20}\\/[a-zA-Z0-9\\-\\.]{1,15}$\""}", ErrorCode=5}
Although RegExp in OpenAPI says:
The symbol -
seems to be allowed in first part of user agent string (before the slash). Length is between 1 and 20.
Hi all,
I have the same issue here since I updated my Docker Installation "dc-mocks.yml" from version 1.0.9 to 1.0.10 ...
Regards,
Jürgen
Thank you for reporting this issue. We will create an internal ticket to fix it by adjusting the RegExp validation.
Best,
Iryna
Fixed with a release version 1.0.11