Skip to content

Commit 3f5632a

Browse files
committed
[更新]接口token验证输出使用ob_clean
1 parent 8db4c48 commit 3f5632a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Wechat/Lib/Common.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function valid()
126126
}
127127
} elseif (isset($_GET["echostr"])) {
128128
if ($this->checkSignature()) {
129+
@ob_clean();
129130
exit($_GET["echostr"]);
130131
}
131132
return false;

0 commit comments

Comments
 (0)