patchphpGroupWare - Patches: patch #3489, db_addslashes

 
 

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

patch #3489: db_addslashes

Submitter:  Sigurd Nes <sigurdne>
Submitted:  Mon 01 Nov 2004 01:10:40 PM UTC
   
 
Category:  API - phpGWapi Priority:  6
Item Group:  SVN trunk (dev code) Status:  None
Privacy:  Public Assigned to:  fipsfuchs
Open/Closed:  Closed

Wed 04 May 2005 02:36:06 PM UTC, comment #4: 

patch for inc/function.inc.php applied.

Hope that's all ;-)

Cheers fips

Philipp Kamps <fipsfuchs>
Mon 02 May 2005 06:30:04 PM UTC, comment #3: 

Hi Philipp,

You are right - the correct call in phpgwapi/inc/functions.inc.php should be $GLOBALS['phpgw']->db->db_addslashes()

Regards

Sigurd

Sigurd Nes <sigurdne>
Group Member
Mon 02 May 2005 03:54:35 PM UTC, comment #2: 

Hi Signurd,

your patch for inc/functions doesn't work for me. Are you sure that the DB object is already in the $GLOBALS var?

I applied the rest of your patch - I have to test it a little more before I'll commit it.

Cheers, fips

Philipp Kamps <fipsfuchs>
Mon 02 May 2005 12:58:41 PM UTC, comment #1: 

This patch make sure the API use the db_addslashes to return the correct escape strings before sending them to the database (mssql won't work without this patch)

This is an update to fit HEAD.

Regards

Sigurd

Sigurd Nes <sigurdne>
Group Member
Mon 01 Nov 2004 01:10:40 PM UTC, original submission:  

All occurrences of addslashes should be replaced with the corresponding db_addslashes.
This is a patch for phpgwapi (proposed-0_9_18-branch).

Sigurd Nes <sigurdne>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #8782:  addslashes.diff added by sigurdne (6KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-05-04 fipsfuchs Open/ClosedOpen Closed
2005-05-02 sigurdne Item GroupNone SVN trunk (dev code)
    Assigned toskwashd fipsfuchs
    Attached File- Added addslashes.diff, #4552
2005-05-02 sigurdne Attached File#3830 Removed
2004-11-01 sigurdne Attached File- Added patchfile.diff, #3830

Back to the top

Powered by Savane 3.15.
Corresponding source code