Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Handle request headers with numeric keys #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 5, 2018

  1. Handle integer headers

    Here, at getpocket.com, we have had a client hit our servers with
    header keys as integers. In doing so `HeaderSecurity::assertValidName`
    is throwing an exception because `! is_string(-1) === true`.
    
    I have been unable to identify any documentation which would suggest
    that these values could be valid. At this point I believe the best
    behavior is to ignore these keys.
    jeshuaborges committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    778cce6 View commit details
    Browse the repository at this point in the history