Closed (fixed)
Project:
Commerce PayPal
Version:
7.x-1.x-dev
Component:
PayPal / IPN
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2012 at 09:51 UTC
Updated:
19 Sep 2012 at 02:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
andyg5000Patch attached
Comment #2
rszrama commentedActually, I think the idea is that we don't need to worry about stripslashes() at all. _drupal_bootstrap_full() calls fix_gpc_magic(), which in turn walks over various superglobal arrays stripping slashes left and right. So looking at PayPal's example, everything they do to detect magic quotes is being done by Drupal automatically. We can simply remove the call to stripslashes() and be satisfied.
Commit: http://drupalcode.org/project/commerce_paypal.git/commitdiff/103ae02