Fix HTML attribute parsing for escaped quotes #3476

Open
mkljczk wants to merge 1 commit from mkljczk/pleroma-fe:attrs-parsing-fix into develop
Owner

I was investigating a bug in akkoma-fe that didn't occur in pleroma-fe and found out the tag attrs regex (that should have never existed) doesn't handle escaped quotes properly (at least here it doesn't cause crashes)

I was investigating a bug in akkoma-fe that didn't occur in pleroma-fe and found out the tag attrs regex (that should have never existed) doesn't handle escaped quotes properly (at least here it doesn't cause crashes)
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u attrs-parsing-fix:mkljczk-attrs-parsing-fix
git switch mkljczk-attrs-parsing-fix

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch develop
git merge --no-ff mkljczk-attrs-parsing-fix
git switch mkljczk-attrs-parsing-fix
git rebase develop
git switch develop
git merge --ff-only mkljczk-attrs-parsing-fix
git switch mkljczk-attrs-parsing-fix
git rebase develop
git switch develop
git merge --no-ff mkljczk-attrs-parsing-fix
git switch develop
git merge --squash mkljczk-attrs-parsing-fix
git switch develop
git merge --ff-only mkljczk-attrs-parsing-fix
git switch develop
git merge mkljczk-attrs-parsing-fix
git push origin develop
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe!3476
No description provided.