Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make METHRE RFC-7230 compliant #3235

Merged
merged 1 commit into from
Sep 8, 2018
Merged

Commits on Sep 2, 2018

  1. Make METHRE RFC-7230 compliant

    Definition of method is:
    ```
        method = token
        tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." /
                "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA
        token = 1*tchar
    ```
    
    So we had two issues:
    1. Not all the characters were allowed.
    2. Actually, we did allowed too much characters since `$-_` parsed as:
    "all characters in range between code 36 ($) and code 95 (_)" instead of
    "characters with codes 36, 45 and 95". So we did match methods like
    `[GET]` which are malformed according the spec.
    kxepal committed Sep 2, 2018
    Configuration menu
    Copy the full SHA
    7351a1f View commit details
    Browse the repository at this point in the history