Announcement

Collapse
No announcement yet.

BUG - HttpGetRequestBodyData not retrieving BodyData

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BUG - HttpGetRequestBodyData not retrieving BodyData

    Bug found in the HttpGetRequestBodyData function, which may be a deeper issue with all HTTP Server API functions that parse the HTTP header field names.

    The HTTP Server API is not treating HTTP header field names as case-insensitive per RFC-1616 Section 4.2 and the current RFC-7230 Section 3.2.

    For example, in the following HTTP request, the field name 'content-length' is all lowercase and contains the correct body length, but HttpGetRequestBodyData incorrectly returns the Body as NULL;

    Content-Type: application/x-www-form-urlencoded
    User-Agent: PostmanRuntime/7.13.0
    Accept: */*
    Cache-Control: no-cache
    Postman-Token: b1851193-972c-4a21-8f6e-637fbad946ce
    Host: 10.105.10.72
    accept-encoding: gzip, deflate
    content-length: 77
    Connection: keep-alive

    grant_type=password&username=admin&password=xxxxxx xxxx&client_id=xxxxxxxxxxxx
    Sending the same HTTP request with 'C' and 'L' capitalized i.e. 'Content-Length: 77' HttpGetRequestBodyData returns the Body as expected "grant_type=password&username=admin&password=xxxxx xxxxx&client_id=xxxxxxxxxxxx";

    Bug found in release of v5.5.0.2.R5

  • #2
    Bump!!!

    No response to this, are we going the fix this?

    Comment

    Working...
    X