Skip to content

Merge-upstream#49

Merged
Alkarex merged 2 commits intofreshrssfrom
merge-upstream
Aug 10, 2025
Merged

Merge-upstream#49
Alkarex merged 2 commits intofreshrssfrom
merge-upstream

Conversation

@Alkarex
Copy link
Member

@Alkarex Alkarex commented Aug 10, 2025

No description provided.

jtojnar and others added 2 commits August 3, 2025 15:26
Both suffixes are supported but the latter is more likely to be syntax highlighted by text editors and other tools

https://phpstan.org/config-reference#config-file
@Alkarex Alkarex merged commit dcaa720 into freshrss Aug 10, 2025
20 checks passed
@Alkarex Alkarex deleted the merge-upstream branch August 10, 2025 22:40
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Aug 10, 2025
FreshRSS/simplepie#48
and merge upstream FreshRSS/simplepie#49
fix FreshRSS#7807
We had a risk of hitting `Backtrack limit was exhausted` in case of open XML comment `<!--` not closed and followed by a very long document.
Fixed by:
* Limiting the max length of the comment
* Stopping at an apparent end of CDATA section `]]>` as it is likely an error

It does not matter much if there are rare cases when the regex does not work perfectly, as it is only used for a cache hint.
Alkarex added a commit to FreshRSS/FreshRSS that referenced this pull request Aug 10, 2025
FreshRSS/simplepie#48
and merge upstream FreshRSS/simplepie#49
fix #7807
We had a risk of hitting `Backtrack limit was exhausted` in case of open XML comment `<!--` not closed and followed by a very long document.
Fixed by:
* Limiting the max length of the comment
* Stopping at an apparent end of CDATA section `]]>` as it is likely an error

It does not matter much if there are rare cases when the regex does not work perfectly, as it is only used for a cache hint.
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