Skip to content

Fix the null pointer exception on the replace filter#650

Merged
ebussieres merged 1 commit into
PebbleTemplates:masterfrom
fabriceci:fix-npe-replace-filter
Mar 25, 2023
Merged

Fix the null pointer exception on the replace filter#650
ebussieres merged 1 commit into
PebbleTemplates:masterfrom
fabriceci:fix-npe-replace-filter

Conversation

@fabriceci

Copy link
Copy Markdown
Contributor

There is a check missing before doing toString() on the input.

@ebussieres

Copy link
Copy Markdown
Member

Can you add a unit test for this case please ?

Thank you for your contribution

@fabriceci fabriceci force-pushed the fix-npe-replace-filter branch from 3128526 to 6e36bdc Compare March 25, 2023 09:10
@fabriceci

Copy link
Copy Markdown
Contributor Author

Of course, it's done.

@ebussieres ebussieres added this to the 3.2.1 milestone Mar 25, 2023
@ebussieres ebussieres merged commit bcde83c into PebbleTemplates:master Mar 25, 2023
@fabriceci fabriceci deleted the fix-npe-replace-filter branch March 25, 2023 13:48
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