hi,
I'm trying to redirect to a named anchor after node submition - but from some reason the # sign is escaped .

e.g drupal-7.0/node/14%23%23note-278 instead of drupal-7.0/node/14#note-278

the code i wrote in the redirect method is:

print 'node/'.$node->field_parent['und'][0]['nid'].'#note-'.$node->nid; 

Any suggestions?

Thanks

Comments

fago’s picture

Component: Rules Core » Rules Engine
Status: Active » Fixed

Indeed, that was broken and only worked if a query parameter was also included. I've fixed the bug and improved the test-coverage. Please try whether the next dev snapshot fixes the problem for you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.