hotline #56230 : contact message should not contain HTML
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
Filter activity
- library/ZendAfi/Validate/NoHtml.php 0 → 100644
11 * 12 * BOKEH is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU AFFERO GENERAL PUBLIC LICENSE for more details. 16 * 17 * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE 18 * along with BOKEH; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 21 22 23 class ZendAfi_Validate_NoHtml extends Zend_Validate_Abstract { 24 const CONTAINS_HTML = 'containsHtml'; 25 26 protected $_messageTemplates = [self::CONTAINS_HTML => 'La mise en forme HTML n\'est pas autorisée']; mentioned in commit d5dd460c