issue on email foward form after commit which add filter on form

short description

What is happening and what is wrong with that?

When I create/modify an "email forward" if I write in the destination field one email per line (\n\r) after saving I see in destination field all email addresses concatenated on the same line without space.

Example:

foo@bar.org john@doe.inc

become


foo@bar.orgjohn@doe.inc

correct behaviour

What should happen instead?

it should stay:

foo@bar.org john@doe.inc

environment

Server OS: ubuntu Server OS version: xenial ISPConfig version: 3.1.10

source

commit: ecbdda9b by adding filter in the form