Skip to content

Links malformed in JSON response #177

Closed
@skiarn

Description

@skiarn

Hello, I have problems returning json payloads containing urls, the encoding/json Marshal will escape & to unicode format.

Is there a reason why lambda should escape the characters to unicode?
If not then its better to use json Encoder and turn on SetEscapeHTML(true) or at least make it accessible to configure.

Or am i missing the correct way to format my payload?

My use-case is returning a pre signed s3 url in a json response payload through the lambda but I cant find a way to do that today.

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