Fixes #1403 by adding a configuration option that disallows modification of the query string