From b3865c1e32776904f4e5b383d7d8de028b93d671 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 4 Dec 2011 16:18:26 +0100 Subject: [PATCH] guarantor name escaped in guarantee file --- web/index_wr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/index_wr.php b/web/index_wr.php index 43be553..3c97733 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -212,7 +212,7 @@ else if ($argz[0] == 'warranty') { if (($wa_lock = Warrant::lock_data(TRUE)) != FALSE) { if (($fp = @fopen(LEGAL_PATH."/warrant.txt", 'a')) != FALSE) { /* Unix time | session | nickname | IP | where was | mesg */ - fwrite($fp, sprintf("%ld|%s|%s|%s|\n", $curtime, $user->name, xcapelt(urldecode($cli_name)), xcapelt(urldecode($cli_email)))); + fwrite($fp, sprintf("%ld|%s|%s|%s|\n", $curtime, xcapelt($user->name), xcapelt(urldecode($cli_name)), xcapelt(urldecode($cli_email)))); fclose($fp); } Warrant::unlock_data($wa_lock); -- 2.17.1