Skip to content

Commit

Permalink
Add 'formaction' to list of evil attributes to remove in `Sanitize::c…
Browse files Browse the repository at this point in the history
…lass` helper.
  • Loading branch information
terabytesoftw committed Mar 2, 2024
1 parent bad2c33 commit 4669d3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 0.2.2 Under development

- Bug #9: Add 'formaction' to list of evil attributes to remove in `Sanitize::class` helper (@terabytesoftw)

## 0.2.1 March 2, 2024

- Bug #7: Update branch alias in `composer.json` (@terabytesoftw)
Expand Down
1 change: 1 addition & 0 deletions src/Sanitize.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ final class Sanitize
*/
private static array $removeEvilAttributes = [
'form',
'formaction',
'style',
];
/**
Expand Down

0 comments on commit 4669d3d

Please sign in to comment.