Skip to content

Durable orchestration with special characters #932

Open
@tragopogon

Description

@tragopogon

We pass the HTTP trigger’s request to the durable orchestrator.
Inside this worker (Start-DurableOrchestration) the request is JSON encoded but forwarded (Invoke-RestMethod) without a charset, so we lose special characters (e.g.: äöüß) in the request.

$null = Invoke-RestMethod -Uri $Uri -Method 'POST' -ContentType 'application/json' -Body $Body

Please change the ContentType parameter to “application/json;charset=utf-8”.
See pull request: #931

To workaround we encode the request with base64 before passing it to Start-DurableOrchestration and decode the Context.Input in the orchestrator before invoking the durable activity. Do you see any negative impacts on the workaround?
Or are we doing it completely wrong and should pass the request in another way to the activity?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions