Skip to content

Server does not tolerate attributes string without spaces #7

@zackangelo

Description

@zackangelo

Exploding on ', ' requires a space in the attribute string (https://github.com/dflydev/dflydev-hawk/tree/master/src/Dflydev/Hawk/Header/HeaderParser.php#L15) which deviates from the regex used in the official HAWK implementation (https://github.com/hueniverse/hawk/blob/master/lib/utils.js#L125).

Maybe switch to splitting on , and doing a trim()?

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