Files
swift-nio-extras/Sources
George Barnett 1d691e38d0 Return 0 for malformed q-values (#313)
Motivation:

Certain malformed q-values can trigger a crash because they don't
validate that a string split results in the expected number of parts.

Modifications:

- validate that the number of split parts is as expected, return a
q-value of zero otherwise (i.e. "not acceptable")

Result:

Safer code
2026-07-01 12:07:05 +01:00
..
2025-01-14 11:24:08 +00:00
2025-01-14 11:24:08 +00:00