Closed (won't fix)
Project:
Taxonomy Redirect
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2009 at 12:23 UTC
Updated:
3 Feb 2013 at 19:46 UTC
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 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.