[ticket/13280] Revert "Merge pull request #3107 from marc1706/ticket/13280"

This reverts commit a1b58d05d158ff7afd789c1b27821e17198f8d58, reversing
changes made to 0e772afb9db640e54e84cfccaddcf74f3edbb3fb.

PHPBB3-13280
[ticket/13280] Make the tests failing

PHPBB3-13280
[ticket/13280] Add new tests

PHPBB3-13280
[ticket/13280] Output escaping for the symfony request object

PHPBB3-13280