better handling of escaped quotes

This commit is contained in:
Martin Monperrus
2010-10-28 18:06:13 +02:00
parent a98368b6ac
commit c06c26b90c
+1
View File
@@ -563,6 +563,7 @@ for ( $i=0; $i < strlen( $sread ); $i++) { $s=$sread[$i];
// handle anti-double quotes
else if ($state==GETVALUEDELIMITEDBYQUOTES_ESCAPED) {
$state = GETVALUEDELIMITEDBYQUOTES;
$inentryvaluedelimitedB = substr($inentryvaluedelimitedB,0,strlen($inentryvaluedelimitedB)-1);
$inentryvaluedelimitedB=$inentryvaluedelimitedB.$s;
}