I've implemented user accounts during Event registration by enabling the profile's advanced settings to give the user the option to create a Joomla account.
When a user registers for an event, they are correctly offered the chance to sign-up or login:
If you would like to create an account on this site, check the box below and enter a Username and a password. If you already have an account please login before completing this form.
The 'login' word above is hotlinked to a page which allows the user to login and then CiviCRM should return the user back to the Event Registration page. It does not - after logging in, the user just gets a blank page.
The reason seems to be that the redirect page is malformed; it is:
/index.php?option=com_civicrm&task=civicrm/event/register&reset=1&id=60
when it should be:
/index.php?option=com_civicrm&task=civicrm/event/register&reset=1&id=60
The & concatenators in the URL are being incorrectly escaped. Any ideas how to address this?