SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年11月15日 01:20:43
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv32658/lib
Modified Files:
 Tag: release-1_2-branch
	pgsql.php 
Log Message:
More addslashes() bugs.
Index: pgsql.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Attic/pgsql.php,v
retrieving revision 1.4.2.5
retrieving revision 1.4.2.6
diff -C2 -r1.4.2.5 -r1.4.2.6
*** pgsql.php	2001年11月07日 20:30:47	1.4.2.5
--- pgsql.php	2001年11月15日 01:20:39	1.4.2.6
***************
*** 86,91 ****
 // Either insert or replace a key/value (a page)
 function InsertPage($dbi, $pagename, $pagehash) {
- $pagename = addslashes($pagename);
- 
 // update the wikilinks table
 $linklist = ExtractWikiPageLinks($pagehash['content']);
--- 86,89 ----
***************
*** 155,159 ****
 // echo "<p>save copy called<p>";
 
- $pagename = addslashes($pagename);
 // echo "<p>dbi in SaveCopyToArchive: '$dbi' '$ArchivePageStore' '$dbi[dbc]'<p>";
 
--- 153,156 ----
***************
*** 180,184 ****
 "version=$pagehash[version]";
 
! $query = "UPDATE $ArchivePageStore SET $PAIRS WHERE pagename='$pagename'";
 
 } else {
--- 177,181 ----
 "version=$pagehash[version]";
 
! $query = "UPDATE $ArchivePageStore SET $PAIRS WHERE pagename='$pagehash[pagename]'";
 
 } else {
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /