Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MC<=1.12.2 旁观者模式中无法加载名字带有非 ASCII 字符的玩家的头像 #81

Closed
yushijinhun opened this issue Aug 22, 2020 · 0 comments

Comments

@yushijinhun
Copy link
Owner

yushijinhun commented Aug 22, 2020

相关:#7

[23:05:02] [Client thread/INFO]: [CHAT] Your game mode has been updated to Spectator Mode
[authlib-injector] [DEBUG] Query UUIDs of [���������QAQ] at [https://mcskin.littleservice.cn/api/yggdrasil/], response: []
[authlib-injector] [INFO] No skin is found for ���������QAQ
[authlib-injector] [DEBUG] Request to [/http/skins.minecraft.net/MinecraftSkins/���������QAQ.png] is handled by [moe.yushi.authlibinjector.httpd.LegacySkinAPIFilter@1ec31565]

上述日志中,玩家 嘤嘤嘤QAQ 的名字变成了乱码,使得头像无法加载。

原因是 MC 没有对 URL 进行编码(考虑到正版用户名只能出现 ASCII 字符,因此不会由这个问题)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant