This extension has been inspired by https://github.com/sourcebroker/urlguard but uses a bit different configuration.
It limits the addQueryString configuration to only those parameters currently mapped in the routing configuration.
Install it with composer req studiomitte/urlguard2 and done.
This extension was created by Georg Ringer for Studio Mitte, Linz with ♥.
Find more TYPO3 extensions we have developed that provide additional features for TYPO3 sites.