We should be able to subscribe to wildcard topics (see https://github.com/dapr/dapr/issues/3920) e.g., subscribe to app/+/event and publish to app/device-simple/event
Actual Behavior
An error is returned due to the way the JS SDK handles the POST sanitizing
2023-07-28T10:58:43.556589448Z time="2023-07-28T10:58:43.556326744Z" level=error msg="non-retriable error returned from app while processing pub/sub event 73b3827a-6df1-466b-9951-6ea0a4974186: <!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /pubsub-emqx--/inbound/+--default</pre>\n</body>\n</html>\n. status code returned: 404" app_id="$Default" instance=116e7184bb3b scope=dapr.runtime type=log ver=1.11.2
Expected Behavior
We should be able to subscribe to wildcard topics (see https://github.com/dapr/dapr/issues/3920) e.g., subscribe to
app/+/event
and publish toapp/device-simple/event
Actual Behavior
An error is returned due to the way the JS SDK handles the POST sanitizing
Steps to Reproduce the Problem
Create a pubsub with wildcard name