I'm trying to pass '?' and '=' symbols to a page using routing.yml
company.calc:
path: '/form?company={nid}'
defaults:
_controller: FrameworkBundle:Redirect:redirect
_title: 'Calc'
requirements:
_permission: 'access content'
but the symbols are transcoded to HTML-entities. It looks like form%3Fcompany%3D%3Fcompany%3D18141
and leads to page 404.
Any ideas how to pass the string like
/form?company=1234
? This string is necessary to prepopulate the form's field.
Find the same question here but no reply, no solution :(.