Skip to content

Cannot process certain response strings #84

Open
@shenanigans

Description

https://github.com/substack/http-browserify/blob/master/lib/response.js#L107

Due to the way this regex is used, a response String that contains the substring "ArrayBuffer" is assumed to be an ArrayBuffer. For example, http-browserify cannot load a page containing its own source because the regex will select itself.

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