From afcd1d14bb523b3032e6aec7bb1285fed0fdc827 Mon Sep 17 00:00:00 2001 From: Ali Date: Sun, 8 Nov 2015 09:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E7=BB=91=E5=AE=9A=E4=BD=BF?= =?UTF-8?q?=E7=94=A8bduss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.php | 2 +- template/default/widget/guide.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api.php b/api.php index d79d135c..8234730c 100644 --- a/api.php +++ b/api.php @@ -20,7 +20,7 @@ if(!$_cookie) throw new Exception('Empty response!'); if($_GET['formhash'] != $formhash) throw new Exception('Illegal request!'); if ($_GET['local']) { - $cookie = $_cookie; + $cookie = 'BDUSS='.$_cookie.';'; } else { $cookie = authcode(pack('H*', $_cookie), 'DECODE', cloud::key()); } diff --git a/template/default/widget/guide.php b/template/default/widget/guide.php index bcce803a..585a1e52 100644 --- a/template/default/widget/guide.php +++ b/template/default/widget/guide.php @@ -24,7 +24,7 @@
-

Cookie: +

BDUSS: