silverstripe/silverstripe-cms — pull request #179 by tractorcow (2012-08-08 05:09:43+00:00)
Title: FIXED: Compatibility issues with the Translatable module

FIXED: Issue where links within the CMS page list view would not be correctly generated.

E.g. when the Translatable module is used, page links for the "show children" action would come up as admin/pages/?locale=en_NZ?ParentID=21&view=list when they should be shown as admin/pages/?locale=en_NZ&ParentID=21&view=list.

This would not normally become apparent when using the CMS without certain modules, but the issue lies is the fragile concatentaion of urls.

This fix uses Controller::join_links to perform the necessary sanity check on urls and querystring arguments.