Jmix.rest.anonymous-url-patterns property does not work with more than one url

Hi,

I’m trying to add two urls to be accessed by an anonymous user, but for some reason anonymous access only works for the first of the urls listed with a comma:

jmix.rest.anonymous-url-patterns=/rest/publicRegister/*, \
  /rest/entities/catalog/locale/**

By swapping them and the second url comes before the other one, it works for it and stops working for the other url. For the second listed url I get an error:

“error_description”: “Full authentication is required to access this resource”.

Аny suggestions why it doesn’t work with both urls listed at the same time?

Hi,
If you remove the space after the comma, will that work then?