7.3.6 CE GA7, 7.4.0 CE GA1, Master
According to portal.properties it is expected to list all JSONWS paths you need to whitelist:
However, if JSONWS paths are namespaced (e.g. those with ddl namespace below), you have to tweak them to be processed correctly. So instead of this:
you have to specify this:
It means: without the leading slash and with that namespace replaced with the part after the dot.
It is caused by two mistakes:
- The leading character is stripped, but not added back after the namespace is prepended to the context path:
- Instead of the contextName the contextPath is passed so incorrect value is prepended:
Once namespaced paths are specified in the original form, they disappear from the localhost:8080/api/jsonws and the error is thrown when API is accessed using e.g. curl.