Closed (fixed)
Project:
Amazon Store
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2010 at 22:30 UTC
Updated:
12 Feb 2011 at 21:50 UTC
Jump to comment: Most recent file
The output processing of EditorialReview is done in 3 places, and they're not all the same. Standardize. I suspect that using _filter_htmlcorrector(filter_xss($EditorialReview)) is the correct approach.
Comments
Comment #1
rfayWell, this isn't a 100% fix because the sanitization is still done in 3 places, but at least it's done the same. Please try and report. If you have an editorial review or "product description" that doesn't look right, please provide the ASIN of the problem item.
Comment #2
rfayAnd this one is a little better. It solves the problem in #1008774: Editorial reviews with different encoding? and may also solve the problem in #752772: Apparel searches on the Amazon API always time out..
In this patch, the magic parameters passed to Amazon are thinned down, and as a result, Amazon passes us better data. Pretty strange.
Testing results will be appreciated.
Comment #3
rfayThis one seems to do the job.
I had failed to request the EditorialReview in one search case, and that caused some trouble.
I checked and this does solve #1008774: Editorial reviews with different encoding?
Comment #4
rfayCommitted to DRUPAL-6--2: https://drupal.org/cvs?commit=491210
Now on to D7
Comment #5
rfayHere is a D7 version for review.
Comment #6
rfay#5 didn't solve #1008774: Editorial reviews with different encoding?. I believe this one does.
Comment #7
rfayCommitted: https://drupal.org/cvs?commit=491372