bugphpGroupWare - Bugs: bug #3625, validator's strip_html removes 0...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3625: validator's strip_html removes 0 from strings

Submitted by:  Olivier Berger <olberger>
Submitted on:  Thu 15 May 2003 01:34:39 PM UTC  
 
Item Group: NoneCategory: API - phpGroupware API
Severity: 3 - NormalPriority: 5 - Normal
Status: Wont FixPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: NoneOperating System: None
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

(Jump to the original submission Jump to the original submission)

Thu 17 Jul 2003 02:12:22 AM UTC, comment #7:

This class has been removed from cvs. Hopefully a replacement will be found soon.

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Fri 27 Jun 2003 04:16:59 AM UTC, comment #6:

added the link to http://phpgroupware.org/3rdparty

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Thu 29 May 2003 06:46:24 AM UTC, comment #5:

I will follow this one up. I will also add your project to the list of 3r party phpgw apps

Anonymous
Thu 29 May 2003 06:34:02 AM UTC, comment #4:

You're right.

I just found this bug when checking various things while testing PicoLibre on the latest phpgw ;)

<offtopic>
We're in the process to upgrading dependencies, but that questions alot of design issues also along the way... more news later on the phpgw lists I think
</offtopic>

Olivier Berger <olberger>
Thu 29 May 2003 02:05:03 AM UTC, comment #3:

picolibre relies on phpgw12. This is a very old version which we no longer support. I would suggest that you raise the dependency on an unsupported version with them.

Cheers

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Wed 28 May 2003 01:22:27 PM UTC, comment #2:

Dunno if regular PhpGW apps use it... but it's in the API ;)

I noticed that when using it for PicoLibre (www.picolibre.org), which is built on top of PhpGW.

And I checked in the CVS before reporting, and it seems to still have been there at that time.

Anonymous
Sat 17 May 2003 11:45:38 AM UTC, comment #1:

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

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Thu 15 May 2003 01:34:39 PM UTC, 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

Olivier Berger <olberger>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 17 Jul 2003 02:12:22 AM UTCskwashdStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Sat 17 May 2003 11:45:38 AM UTCskwashdAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1