Skip to content

Byte validation produces "Maximum call stack size exceeded" for large strings #102

@kpala

Description

@kpala

Trying to validate e.g. a 5MB base64-encoded image using the byte validator produces

RangeError: Maximum call stack size exceeded
    at RegExp.test (<anonymous>)

Maybe there are other, non-regex based approaches available for validating base64 strings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions