Needs review
Project:
prometheus
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Dec 2011 at 03:49 UTC
Updated:
18 Jan 2012 at 03:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
Akaoni commentedPatch for 7.x-1.x:
Comment #2
Akaoni commentedCNR
Comment #2.0
Akaoni commentedAdded more notices.
Comment #3
Akaoni commentedNew patch for all notices:
Comment #4
slobo commentedWhat will happen on PHP <5.3.3 if someone uses FILTER_SANITIZE_FULL_SPECIAL_CHARS in their input sanitization? Would it be a graceful failure / would the user be notified that the module won't perform as expected?
Perhaps it is better not to include FILTER_SANITIZE_FULL_SPECIAL_CHARS as the available mapping option in that case, or have filter_full_special_chars revert to filter_special_chars, but that would need to be documented.
The other part of the patch looks good.
Comment #5
Akaoni commentedIt gracefully falls back to use the FILTER_SANITIZE_SPECIAL_CHARS filter:
http://www.php.net/manual/en/filter.filters.sanitize.php
We'd probably need to document this.
Comment #6
Akaoni commentedCommited to "7.x-1.x-refactor".
Comment #7
Akaoni commentedAdd refactor tag.
Comment #7.0
Akaoni commentedUpdated code block formatting