nagarajusunkara commented on issue #12452: URL: https://github.com/apache/apisix/issues/12452#issuecomment-3100761168
@Baoyuantop Thank you for your quick review! In practice, many user agents, enterprise proxies, or legacy systems do send cookies with spaces outside of quotes, and servers are generally tolerant of such cases for compatibility. In the wild, cookie headers like these are commonly observed: ```javascript Cookie: locale=en US; foo=spaced out; badflag; ``` or ```javascript Cookie: key=value with spaces; anotherkey=another value; ``` **Request** Would you consider making the parser robust and lenient in practice, or at least fail gracefully without exceptions on non-conformant (but common) cookies? This improves reliability and aligns APISIX with how most real HTTP servers/gateways handle cookie headers today. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
