phper666 / jwt-auth

能直接在hyperf框架中使用jwt的组件. 用之前,请详细的看下下面的文档~
191 stars 35 forks source link

[ERROR] Error while decoding to JSON: Malformed UTF-8 characters, possibly incorrectly encoded[99] in /var/www/vendor/phper666/jwt-auth/src/JWT.php #32

Closed dellif closed 1 year ago

dellif commented 4 years ago

[ERROR] Error while decoding to JSON: Malformed UTF-8 characters, possibly incorrectly encoded[99] in /var/www/vendor/phper666/jwt-auth/src/JWT.php

phper666 commented 4 years ago

这周末优化一下

---Original--- From: "dlf8090"<notifications@github.com> Date: Wed, Sep 2, 2020 10:03 AM To: "phper666/jwt-auth"<jwt-auth@noreply.github.com>; Cc: "Subscribed"<subscribed@noreply.github.com>; Subject: [phper666/jwt-auth] [ERROR] Error while decoding to JSON: Malformed UTF-8 characters, possibly incorrectly encoded[99] in /var/www/vendor/phper666/jwt-auth/src/JWT.php (#32)

[ERROR] Error while decoding to JSON: Malformed UTF-8 characters, possibly incorrectly encoded[99] in /var/www/vendor/phper666/jwt-auth/src/JWT.php

Authorization 值如果随便赋值,导致数据无法解析, 会直接报系统级错误, 不是很友好

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

miaodawei commented 4 years ago

这个优化了吗

phper666 commented 4 years ago

@miaodawei 还没 如果你优化了 可以提交一个pr过来