Changeset 578


Ignore:
Timestamp:
09/19/06 14:22:02 (13 years ago)
Author:
ray
Message:

With magic_quotes_qpc on, each call of xinha_passed_data_querystring() added new slashes.
Added check for magic_quotes_gpc to always pass clean data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contrib/php-xinha.php

    r566 r578  
    165165     foreach($_REQUEST['backend_data'] as $k => $v) 
    166166     { 
     167       $v =  ini_get('magic_quotes_gpc') ? stripslashes($v) : $v; 
    167168       $qs[] = "backend_data[" . rawurlencode($k) . "]=" . rawurlencode($v); 
    168169     }        
Note: See TracChangeset for help on using the changeset viewer.