Skip to content

Core bug: wkd.lookup returning HTML response as UInt8Array #3

@titanism

Description

@titanism

In the example below, if an invalid key is fetched, then the value of binaryKey will be a UInt8Array that is actually a complete HTML response from the fetch request. It should be sanitized and dummy-proofed a bit further. We've submitted a PR to fix this for a majority of edge cases.

const binaryKey = await wkd.lookup({
  email: address
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions