Does anyone remember the problem that dealt with the ' when syncing? I remember it was something very small, but can't remember where it was to fix. When syncing a bookmark that had whatever's.com it would sync and show as whatever''s.com.
Logged In: YES user_id=875930
The problem is in the parseline function of client.php
//* parses bookmarklist line, processes Adds and Deletes function parseline($bm_row,$ID) { $path = str_replace("'","''",$tpath); // *** SQL escape single quote
I just replaced the above line with:
$path = $tpath;
and made sure that the apostrophes were escaped properly with an addslashes() function.
Jack www.sync2it.com
Log in to post a comment.
Logged In: YES
user_id=875930
The problem is in the parseline function of client.php
//* parses bookmarklist line, processes Adds and Deletes
function parseline($bm_row,$ID)
{
$path = str_replace("'","''",$tpath); // *** SQL
escape single quote
I just replaced the above line with:
$path = $tpath;
and made sure that the apostrophes were escaped properly
with an addslashes() function.
Jack
www.sync2it.com