Skip to content

Conversation

197g
Copy link

@197g 197g commented Mar 2, 2022

Applies the specification more precisely: allow empty values, do not
remove leading spaces from values, if separator is more than a single
space, do not fail on additional value contents with more spaces.

This also fixes an Internal Server Error in the empty value case. It's
allowed for key to stand on its own without any space separator. The
code relied on split yielding exactly two items.

Applies the specification more precisely: allow empty values, do not
remove leading spaces from values, if separator is more than a single
space, do not fail on additional value contents with more spaces.

This also fixes an Internal Server Error in the empty value case. It's
allowed for key to stand on its own without any space separator. The
code relied on split yielding exactly two items.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant