bugphpGroupWare - Bugs: bug #7786, addslashes()/stripslashes() bug in...

 
 

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

bug #7786: addslashes()/stripslashes() bug in news_admin

Submitted by:  Marco Gaiarin <gaio>
Submitted on:  Wed 18 Feb 2004 04:41:18 PM UTC  
 
Item Group: 0.9.16.000 releaseCategory: None
Severity: 3 - NormalPriority: 7 - High
Status: FixedPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - Debian
Reproducibility: NonePlanned Release: None
Fixed Release: 

Fri 19 Mar 2004 03:52:04 PM UTC, comment #3:

Sorry I was working on 2 versions, committed the wrong one = try again :)

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Fri 19 Mar 2004 03:21:42 PM UTC, comment #2:

Sorry but seems not solved.

I've just updated via cvs, and:

1) something that seems a debug message appear on top of page, like:

SO-save:

Array
(
[id] => 1
[subject] => Nuovo sito
[teaser] => La sede di SanVito si รจ dotata di un nuiovo sito web...
[content] => Potete trovare qui una marea di notizie utili...

Prova carattere \\
[category] => 8
[begin_d] => 19
[begin_m] => 3
[begin_y] => 2004
[end_d] => 19
[end_m] => 3
[end_y] => 2004
[is_html] => on
[begin] =>
[end] => 2147483647
)

2) again, if i add some \, and click save, one more \ are added.

Marco Gaiarin <gaio>
Thu 26 Feb 2004 06:30:49 AM UTC, comment #1:

Unfortunately this is not as straight forward as it seems. I will spend some more time on it soon.

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Wed 18 Feb 2004 04:41:18 PM UTC, original submission:

A news_admin module missed from this BTS menu...

Apart this, if i try to input news in news_admin module, \ character are not correctly handled, so every time i save a news, one more \ are added.

I'm a little php experienced programmer, but i've solved this problem using correctly the addslashes() and stripslashes() function, or setting globally to on the variable magic_quotes_gpc, but is preferible the first.

Marco Gaiarin <gaio>

 

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 19 Mar 2004 02:50:18 PM UTCskwashdItem Group0.9.16RC3=>0.9.16.000 release
  StatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 26 Feb 2004 06:30:49 AM UTCskwashdAssigned toNone=>skwashd

Back to the top


Powered by Savane 3.1-cleanup1