silverstripe/silverstripe-userforms — pull request #85 by smindel (2013-01-28 16:17:13+00:00)
Title: Fix malformed ajax url for adding options when used in combination with translatable

When using userforms in combination with translatable you cannot add options to dropdown, checkboxgroup, radio group, etc fields because of a malformed ajax url.

In UserForm.js it is assumed that there is neither a query segment nor a fragment segment in the action param of the form. But when using translatable there is the locale appended to the path. So when some path segments get append to the action value they end up after the query segment which causes the ajax request to fail.