[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #3625] validator's strip_html removes 0 fro

From: nobody
Subject: [Phpgroupware-tracker] [Bug #3625] validator's strip_html removes 0 from strings
Date: Thu, 15 May 2003 09:34:40 -0400

=================== BUG #3625: FULL BUG SNAPSHOT ===================

Submitted by: olberger                Project: phpGroupWare                 
Submitted on: Thu 05/15/03 at 15:34
Category:  API - phpGWapi             Bug Group:  None                      
Severity:  5 - Major                  Priority:  Normal                     
Resolution:  None                     Assigned to:  None                    
Status:  Open                         Component Version:  None              
Platform Version:  None               Reproducibility:  Every Time          

Summary:  validator's strip_html removes 0 from strings

Original Submission:  When using strip_html from class validator (from 
phpgwapi) on a string containing the '0' character, it is removed although not 
being part of a HTML tag.

so strip_html('2003') give 23.

Usage of if(!empty($digit)) whould probably be replaced by if(isset($digit) && 
$digit != "") inside strip_html

No Followups Have Been Posted

CC list is empty

No files currently attached

For detailed info, follow this link:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]