Skip to content

Removing Whitespaces before base64Url encoding #199

Closed
@arnoweiss

Description

@arnoweiss

What happens?

Base64url encoding is sensitive to whitespaces (like new lines). The spec makes no statements where Whitespaces in Base64Url-encoded json-payloads should be removed - serverside or clientside.

Why is this wrong?

If the servers assume that clients remove whitespaces, they will not match json-structures that are in fact equivalent.

How should it be fixed?

Make statement if server or client should remove whitespaces.

  • I have signed the required Developer Certificate of Origin (DCO) already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions