On a site I have I can consistently reproduce this behavior. When I have rolesignup enabled links in the form:

http://www.example.com/user/register?destination=node/5%2523comment_form

Will redirect to node/5%2523comment_form instead of user/register/role. Ideally they should redirect to user/register/role, preserve the destination, and pass the destination on to the user/register screen. I'm using rolesignup from about two weeks ago (it would be beneficial to add a // $Id$ to the top of the file so we know which version it is).

Comments

sym’s picture

Assigned: Unassigned » sym
Status: Active » Fixed

I think I've fixed this. That is to say, I updated the module to drupal 5 and tested it there, but I've not tested in drupal 4.7.

Please reopen if it's not working.

greggles’s picture

Do you think you would port this back to 4.7 or is the only solution to upgrade?

Thanks.

sym’s picture

Sorry, I should have added, I back ported the changes. You can checkout the drupal 4.7 now :)

I added the $id$ in too, thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)