[1.12.2] [BUG]
DesolateIntention opened this issue ยท 2 comments
Initial Steps
- [Yes] I have updated to the latest build from Jenkins before reporting a bug
- [Yes] I have checked, if the bug was not already reported by using the search.
- [Debug is too heavy] Attached is my ForgeEssentials/modlist.txt, my latest.log, and my debug.log
Describe the bug
When using p user (non-existent user)
, a weird exception thing shows up, instead of a proper error message.
To Reproduce
Steps to reproduce the behavior:
| 1 | Type p user KAJEWFDOJAWDOIJAWODJAWOID()()()A(W =D(UAW=D()AW)(
.
| 2 | See error.
Expected behavior
A proper error message.
Desktop (please complete the following information):
- OS: Windows 7.
- Browser: Chrome.
- Version: ?
latest.log
modlist.txt
I think this is because the username code is sending a request to mojang if a user doesn't exist. It seems Mojang is returning a 400 error when receiving a username with this junk data.
https://api.mojang.com/users/profiles/minecraft/UHIEAUHDOI)AUHFOI(BHFOI=EABHF(OYEAWHDO(YEAHGFYEH
I can fix the code to behave gracefully when this happens.