phpgroupware-tracker
[Top][All Lists]
Advanced

[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: Sat, 17 May 2003 07:45:38 -0400


=================== BUG #3625: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3625&group_id=509

Changes by: Dave Hall <address@hidden>
Date: Sat 05/17/2003 at 21:45 (Australia/Melbourne)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | skwashd


------------------ Additional Follow-up Comments ----------------------------
hmmm, is this used by an apps?  Or in an app you are building?  Just trying to 
work out how to replicate this one :)

btw what version of phpgw are you using?

Cheers



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


Submitted by: olberger                Project: phpGroupWare                 
Submitted on: Thu 05/15/2003 at 23:34
Category:  API - phpGWapi             Bug Group:  None                      
Severity:  5 - Major                  Priority:  Normal                     
Resolution:  None                     Assigned to:  skwashd                 
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


Follow-up Comments
*******************

-------------------------------------------------------
Date: Sat 05/17/2003 at 21:45       By: skwashd
hmmm, is this used by an apps?  Or in an app you are building?  Just trying to 
work out how to replicate this one :)

btw what version of phpgw are you using?

Cheers


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3625&group_id=509




reply via email to

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