SU-SWS/open_framework — pull request #5 by jbickar (2012-04-08 06:29:14+00:00)
Title: new implementation of drupal_get_destination()

I think this one works. If so, it will fix #4. I looked at http://api.drupal.org/api/drupal/includes!common.inc/function/l/6 and I think your implementation of it is from the Drupal 5 version.