Skip to content

Pattern of http signature #52

@bobbyben

Description

@bobbyben

Hi

This pattern is not compliant with Api Manager Tyk Io.
This Api Manager allow signature without quotation mark.

Example :
Work fine with tyk.io
Signature keyId=${keyId},algorithm=${algorithm},signature=${signature}

But don't compliant with this regexp
"(?\w+)=(("(?[^\"])")|(?\d+\.?\d))"

.compile("(?<key>\\w+)=((\"(?<stringValue>[^\"]*)\")|(?<numberValue>\\d+\\.?\\d*))");

Is it possible to make optional quotation mark in this pattern ?

Thanks

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