Redirect destination after edit of taxonomy term incorrect when not using clean URLs

Created on 6 October 2012, about 12 years ago
Updated 29 August 2024, 3 months ago

When I try and edit a taxonomy term, I am redirected to an invalid URL when I finish. This appears to be because I am not using clean URLs and the return address assumes I am. I think it needs to wrap the return address with the l() function.

e.g.
http://mysite/?q=taxonomy/term/20/edit&destination=admin/structure/taxon...

In taxonomy.admin.inc the taxonomy_form_term() function should I think, read:

function taxonomy_form_term()
...
  // lines 775-777
  else {
    $form_state['redirect'] = l($_GET['q']);  // Notice use of l() function
  }
Feature request
Status

Closed: outdated

Version

7.0 ⚰️

Component
Taxonomy 

Last updated 23 minutes ago

  • Maintained by
  • 🇺🇸United States @xjm
  • 🇬🇧United Kingdom @catch
Created by

🇧🇪Belgium drupalshrek

Live updates comments and jobs are added and updated live.

Missing content requested by

🇦🇺Australia dpi
3 months ago
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024