From 54f7d2240acf8500019627336a372dc041659ec1 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 10 Sep 2009 00:53:43 +0200 Subject: [PATCH 1/2] Moved license.txt into docs directory. --- build.sh | 1 - license.txt => docs/license.txt | 0 2 files changed, 1 deletion(-) rename license.txt => docs/license.txt (100%) diff --git a/build.sh b/build.sh index a55501f..ceabfde 100644 --- a/build.sh +++ b/build.sh @@ -34,7 +34,6 @@ cp -r "$DOCS" "$RELEASEDIR" mkdir -p $RELEASEDIR/$PLUGINDIR cp -r $BUILDDIR/$PLUGINFILE $RELEASEDIR/$PLUGINDIR/$PLUGINFILE -cp -r license.txt $RELEASEDIR/$DOCS/license.txt # Make release package. echo "Compressing files..." diff --git a/license.txt b/docs/license.txt similarity index 100% rename from license.txt rename to docs/license.txt From 1a5767965ab81b448d603e927cbe9f39c8022b47 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 15 Sep 2009 14:10:57 +0200 Subject: [PATCH 2/2] Fixed parameter parser not ignoring escaped quotes when parsing values. --- src/zr/paramparser.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/zr/paramparser.inc b/src/zr/paramparser.inc index ea3a5cc..9a7d0b0 100644 --- a/src/zr/paramparser.inc +++ b/src/zr/paramparser.inc @@ -279,8 +279,11 @@ stock ParamParseString(buffer[][ParamParseResult], maxlen, String:paramString[], // Check if the current character is a special character. if (paramString[startpos] == '"') { - // Toggle quote. - quoteon = !quoteon; + // Toggle quote if the current quote is not escaped. + if (paramString[startpos - 1] != '\\') + { + quoteon = !quoteon; + } // Check quote state. if (quoteon)