mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
When using Controller::join_links to join two links with identical query params, both query params would be used in the result, ending up with links that look like `../edit/show/14?locale=en_NZ&locale=mi_NZ` This patch eliminates duplicate query params, so only the last one for any key is present in the output.