Trying to pull configuration while profile name contains 'json' fails

curl http://localhost:10000/config/local-unified-portal/some-profile,the-json-profile

{
  "timestamp": "2022-05-10T14:21:52.355+00:00",
  "status": 404,
  "error": "Not Found",
  "path": "/config/local-unified-portal/some-profile,the-json-profile"
}

I guess the correction of #2058 is too restrictive and refuse any profile containing the words json, properties or yaml , wherever they could be in the profile name

Any idea @ryanjbaxter (the author) @spencergibb (the reviewer) ?

Cheers :smile:

Comment From: ryanjbaxter

Sounds like it's the same as https://github.com/spring-cloud/spring-cloud-config/issues/2083