- Issue created by @ruvus
In the "Page Template" module in Drupal, there is an issue when creating a template and trying to pass additional query parameters. These parameters are being stripped out during the redirection process. This behavior is problematic, especially when using the "Prepopulate" module or when you want to extract values from the query string and populate form fields via hook_form_alter().
Create a new template using the "Page Template" module.
Add additional query parameters to the URL (e.g., ?field1=value1&field2=value2).
Trigger a redirection to the template.
Observe that the query parameters are missing after the redirection.
Modify the "Page Template" module to ensure that query parameters are preserved during the redirection process. This might involve adjusting the redirection logic to include the full query string.
Active
1.2
Code