Skip to content

Maximum call stack size exceeded​​ error for dataUri validation #2218

@JSteunou

Description

@JSteunou

Support plan

  • which support plan is this issue covered by? (e.g. Community, Core, Plus, or Enterprise):
  • is this issue currently blocking your project? (yes/no):
  • is this issue affecting a production system? (yes/no):

Context

  • node version: v12
  • module version with issue: v15.1.1
  • last module version without issue:
  • environment (e.g. node, browser, native): node
  • used with (e.g. hapi application, another framework, standalone, ...): standalone
  • any other relevant information:

What are you trying to achieve or the steps to reproduce?

simple Joi.string().dataUri() with a big string (over than 6Mb)

What was the result you got?

RangeError, maximum call stack size exceeded

What result did you expect?

Joi validation

Same issue than #1700 but with dataUri :)

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions