From 285262b6c668b4f367f8222880ceb01be39fd3ac Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 29 Aug 2013 17:55:52 +0200 Subject: Add CSRF protection Signed-off-by: Florian Pritz --- application/views/file/client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/views/file') diff --git a/application/views/file/client.php b/application/views/file/client.php index 5e141f141..29e254a80 100644 --- a/application/views/file/client.php +++ b/application/views/file/client.php @@ -42,7 +42,7 @@ machine login my_username password my_secret_password

Shell

-curl -n -F "file=@/home/user/foo"    (binary safe)
-cat file | curl -n -F "file=@-;filename=stdin"    (binary safe)
+curl -n -F "file=@/home/user/foo"    (binary safe)
+cat file | curl -n -F "file=@-;filename=stdin"    (binary safe)
 
-- cgit v1.2.3-24-g4f1b