Skip to content

fix: cap dynamic attribute names to avoid pathological loop. - #733

Merged
ato merged 1 commit into
internetarchive:masterfrom
adam-miller:adam/apply_attribute_name_limit_to_all_names
May 20, 2026
Merged

ato merged 1 commit into
internetarchive:masterfrom
adam-miller:adam/apply_attribute_name_limit_to_all_names

Conversation

@adam-miller

Copy link
Copy Markdown
Contributor

I ran into a page with an attribute value that is 250MB. We cap that in the regex, but it causes problems when searching for the next attribute and we encounter the \w* while still positioned inside the very large value.

@mdellabitta
mdellabitta self-requested a review May 15, 2026 20:21

@mdellabitta mdellabitta left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! That's a wild problem to have!

@adam-miller
adam-miller requested a review from ato May 19, 2026 22:33
@ato
ato merged commit b9b4823 into internetarchive:master May 20, 2026
3 checks passed
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.

3 participants