Skip to content

ReIndev profile lookup bug #43

@catfromplan9

Description

@catfromplan9

ReIndev tries to lookup profile at https://sessionserver.mojang.com/session/minecraft/profile/<UUID>. The code for doing profile lookup is bugged, and instead of iterating over each item in properties to find the object where name is textures then using the corresponding value field to get the base64 textures payload, it iterates over all objects within properties and checks the value field of each, treating the final value field as the base64 texture data. If the only field in properties is textures, this works fine, but if there are more properties then ReIndev may try parsing the value field of something else as the base64 texture payload. This leads to failure in base64 decoder and skin/cape is not fetched successfully. Please correct JSON parsing logic to specifically query for the textures entry within properties in the profile lookup endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions