Skip to content

Conversation

fundaev
Copy link
Contributor

@fundaev fundaev commented Oct 19, 2021

Motivation:

In according to RFC 6265 a cookie value may be placed between double quotes.

Modifications:

HTTPClient.Cookie ignores now the double quotes at the begining and the ending of a cookie value.
New unit test is added to check it.

Result:

Quoted cookie values are parsed properly now.

Motivation:

In according to RFC 6265 a cookie value may be placed between double quotes.

Modifications:

HTTPClient.Cookie ignores now the double quotes at the beginning and the ending of a cookie value.
New unit test is added to check it.

Result:

Quoted cookie values are parsed properly now.
@swift-server-bot
Copy link

Can one of the admins verify this patch?

6 similar comments
@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Oct 19, 2021
Copy link
Collaborator

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One mild stylistic note, but otherwise this looks really good, thanks for the patch!

@Lukasa
Copy link
Collaborator

Lukasa commented Oct 19, 2021

@swift-nio-bot test this please

Copy link
Collaborator

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Lukasa
Copy link
Collaborator

Lukasa commented Oct 20, 2021

@swift-server-bot test this please

@Lukasa
Copy link
Collaborator

Lukasa commented Oct 20, 2021

To meet our coding style can you apply the diff from the soundess CI job?

@fundaev
Copy link
Contributor Author

fundaev commented Oct 20, 2021

To meet our coding style can you apply the diff from the soundess CI job?

Sure. Fixed it.

@Lukasa
Copy link
Collaborator

Lukasa commented Oct 20, 2021

@swift-server-bot test this please

@Lukasa Lukasa merged commit 1361ecc into swift-server:main Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants