Closed (fixed)
Project:
Coder
Version:
7.x-1.x-dev
Component:
Coder Review
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2011 at 16:28 UTC
Updated:
13 Jan 2012 at 00:21 UTC
Coder Review yields a critical false positive if the title or description of a form API array is filtered with field_filter_xss() instead of filter_xss() / check_plain() etc.:
Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.
.
Comments
Comment #1
douggreen commentedI added http://api.drupal.org/api/drupal/modules--field--field.module/function/f... to the exclussions. Thanks!