Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
http://drupal.localhost/admin/build/workflow-ng/cfg_4/edit/2?destination...
I haven't checked in the code, but this URL is clearly a result of urlencode(). Drupal provides a drupal_urlencode() that preserves slashes while still conforming to URL encoding standards, and I think you might enjoy using this instead :D
(Please consider this issue a hint for your other modules as well, I just don't feel like posting to each of them...)
Comments
Comment #1
fagohm, I don't use urlencode() myself, just links like this:
l(t('edit'), $path .'/edit', array(), drupal_get_destination());
However, drupal_get_destination() uses urlencode.
What's wrong with your posted link?