note 103379 added to filter.filters.sanitize

From: Date: Mon, 11 Apr 2011 11:17:10 +0000
Subject: note 103379 added to filter.filters.sanitize
Groups: php.notes 
Request: Send a blank email to php-notes+get-178681@lists.php.net to get a copy of this message
Beware that FILTER_FLAG_STRIP_LOW strips NEWLINE and TAG and CARRIAGE RETURN chars. If you have a form that accepts user input in plaintext format, all the submitted text will lose all the line breaks, making it appear all on one line. This basically renders this filter useless for parsing user-submitted text, even in plain text. ---- Server IP: 208.69.120.55 Probable Submitter: 24.115.82.197 ---- Manual Page -- http://www.php.net/manual/en/filter.filters.sanitize.php Edit -- https://master.php.net/note/edit/103379 Del: integrated -- https://master.php.net/note/delete/103379/integrated Del: useless -- https://master.php.net/note/delete/103379/useless Del: bad code -- https://master.php.net/note/delete/103379/bad+code Del: spam -- https://master.php.net/note/delete/103379/spam Del: non-english -- https://master.php.net/note/delete/103379/non-english Del: in docs -- https://master.php.net/note/delete/103379/in+docs Del: other reasons-- https://master.php.net/note/delete/103379 Reject -- https://master.php.net/note/reject/103379 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178681) next »