Skip to content

Middleware crashes when no query string is present #6

@bibanul

Description

@bibanul

Line 104:
.parse(options.url, true).query.hasOwnProperty('escaped_fragment')) {

if there's no query this .parse(options.url, true).query will evaluate to undefined and .hasOwnProperty will crash taking down the whole pipeline.

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