redirectURL not added / updated to DB

Bug #668102 reported by Russty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SquidTL
Fix Committed
Medium
Michele "O-Zone" Pinassi

Bug Description

Found "Redirect to:" data not being added / changed from rules from into DB. workaround I added the following to rules.php (as attached) or see changers here:

/* Added Line 91*/
$ruleRedirectURL = mysql_escape_string($_POST["ruleRedirectURL"]);

/* Change Line 97*/ ('$ruleType','$ruleContext','$ruleValue','$ruleAction','$ruleMaxHits','$ruleTimeSlice','$ruleRedirectURL','$ruleIsActive');");

/* Added Line 126*/
$ruleRedirectURL = mysql_escape_string($_POST["ruleRedirectURL"]);

/*Changed Line 153*/ ($ruleValue)."',Action='$ruleAction',MaxHits='$ruleMaxHits',TimeSlice='$ruleTimeSlice',redirectUrl='$ruleRedirectURL', isActive='$ruleIsActive' WHERE ID='$ruleId';");

Revision history for this message
Russty (russ-pco) wrote :
Changed in squidtl:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Michele "O-Zone" Pinassi (o-zone)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.