From: Matteo Nastasi (mop) Date: Sun, 4 Dec 2011 15:18:26 +0000 (+0100) Subject: guarantor name escaped in guarantee file X-Git-Tag: pre-sac~10 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=b3865c1e32776904f4e5b383d7d8de028b93d671;p=brisk.git guarantor name escaped in guarantee file --- 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);