Skip to content

added parse limits to iframely parsing with a default of 3#34

Open
julianlam wants to merge 1 commit intomasterfrom
parse-limits
Open

added parse limits to iframely parsing with a default of 3#34
julianlam wants to merge 1 commit intomasterfrom
parse-limits

Conversation

@julianlam
Copy link
Contributor

It is possible to cause a NodeBB to lock up due to CPU resource exhaustion if you pass in a raw post with hundreds (maybe thousands) of links.

This change limits it to a default of 3, with ACP adjustable value.

@julianlam julianlam requested a review from nleush November 8, 2017 18:26
@julianlam julianlam self-assigned this Nov 8, 2017
@barisusakli
Copy link
Contributor

LGTM, this should be added against stuff like
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants