Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
the module creates a php script setting $tid and $tname variables from $term->tid and $term->name.
The script crashes if $term->name contains one or more single (or double) quotes.
Solution: substitute this line
$text .= '$tname = ' . "'" . $term->name . "'; ";
with this one
$text .= '$tname = ' . "'" . addslashes($term->name) . "'; ";
making special characters escaped.
many thanks
Comments
Comment #1
Pomliane CreditAttribution: Pomliane commentedThis version of Taxonomy Redirect is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.