--- path_redirect.module 2008-01-21 16:42:44.000000000 -0600 +++ path_redirect.module 2008-01-21 18:14:23.000000000 -0600 @@ -1,5 +1,5 @@ type]['title'], - array('data' => l(t('test'), $r->path, array())), + array('data' => l(t('test'), preg_replace('/\?.*/', '', $r->path), array(), strstr($r->path, '?') ? preg_replace('/.*\?/', '', $r->path) : NULL)), array('data' => l(t('edit'), 'admin/build/path-redirect/edit/'. $r->rid)), array('data' => l(t('delete'), 'admin/build/path-redirect/delete/'. $r->rid)), ); @@ -263,10 +267,6 @@ function path_redirect_edit_validate($fo if (strstr($form_values['path'], '#')) { $path_error .= ' '. t('You cannot redirect from a fragment anchor.'); } - // No query string allowed in "from" (but see #174961) - if (strstr($form_values['path'], '?')) { - $path_error .= ' '. t('You cannot currently include a query in your redirect from path.'); - } // Make sure "from" has the form of a local Drupal path if (!valid_url($form_values['path'])) { $path_error .= ' '. t('The redirect from path does not appear valid. This must be a local Drupal path.');