Open nando-zalez opened 1 year ago
Hi @nando-zalez. This issue triggered an alert because secrets were detected in your post. Next time please remember to remove any API keys when pasting URLs into GitHub issues. I already removed it from your original post, but I strongly recommend you rotate it since it may be possible for others to find ways to exploit it (even though you redacted the host name from the URL).
Looks like there is a URL encoding issue that we need to consider when generating these links. As a workaround, I recommend folks not include spaces in orchestration instance IDs.
Description
InstanceId (contains a space between two underscore characters) = “ModelV22023-09-11 _OFFICIAL_2023-09-12-14-51-25.384”
IDurableOrchestrationClient.CreateCheckStatusResponse(req, instanceId) returns a json with statusQueryUri == “https://[redacted].azurewebsites.net/runtime/webhooks/durabletask/instances/ModelV2_2023-09-11_+_OFFICIAL_2023-09-12-14-51-25.384?taskHub=CMASModelSimulatorTest&connection=Storage&code=[redacted]”
Expected behavior
StatusQueryUri can be used to fetch the status.
Actual behavior
StatusQueryUri is invalid, http call returns 404. If I replace the "+" with a space in Postman, it works.
Relevant source code snippets
Known workarounds
Avoid space in instancedId
App Details
Screenshots
If deployed to Azure