Skip to content

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

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
});

Activity

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

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