Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Added quotation marks to the serialized header values #144

Merged
merged 2 commits into from
May 11, 2018

Conversation

Cellane
Copy link
Member

@Cellane Cellane commented May 8, 2018

… at least I hope so 😅

This tiny PR is hopefully a fix to vapor/multipart-kit#22 and to two days of banging my head against a wall.

@Cellane
Copy link
Member Author

Cellane commented May 8, 2018

It seems that if we decide to go for this, some tests will have to be updated. I’m not 100% sure if I’m reading the build log correctly but it’s possible that only this test is failing? If so, I can prepare another PR for that in the vapor/vapor repository.

@Cellane Cellane changed the title Added quotation marks to the serialized values Added quotation marks to the serialized header values May 8, 2018
Copy link
Member

@tanner0101 tanner0101 left a comment

Choose a reason for hiding this comment

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

Code LGTM. 🙌 I omitted the quotes originally to save a couple of bytes but looks like we need 'em. Gotta love the web haha. As you mentioned, we will also need to fix the test here: https://github.com/vapor/vapor/blob/master/Tests/VaporTests/ApplicationTests.swift#L199-L222

We be great if we could get a PR up for that before merging this so that Vapor's tests aren't broken.

@tanner0101
Copy link
Member

BTW, you can change which branch of Vapor is checked out during tests here: https://github.com/vapor/core/blob/master/circle.yml#L40

We should change this to the branch of Vapor that you apply the fix to, that way we can get green checks here before merging.

I've invited you to the contributors team so you should be able to create local branches now. 👍

@tanner0101 tanner0101 self-assigned this May 9, 2018
@Cellane
Copy link
Member Author

Cellane commented May 9, 2018

Aah, that’s how you do that! Okay, will submit PR for the tests by creating new branch directly on vapor/vapor instead of Cellane/vapor, then change circle.yml on this PR.

Can the changed circle.yml then be excluded from the final merge though? Apologies, this is the first time contributing in this cross-repository fashion.

@tanner0101
Copy link
Member

@Cellane once the merge goes through I just change it on master manually. Small price to pay for making sure everything is works haha.

Cellane added a commit to vapor/vapor that referenced this pull request May 9, 2018
@tanner0101 tanner0101 added this to the 3.1.7 milestone May 11, 2018
@tanner0101
Copy link
Member

Thanks!

@tanner0101 tanner0101 merged commit d859f2b into vapor:master May 11, 2018
@penny-coin
Copy link

Hey @Cellane, you just merged a pull request, have a coin!

You now have 68 coins.

@Cellane Cellane deleted the quote-header-values branch May 11, 2018 23:45
tanner0101 added a commit to vapor/vapor that referenced this pull request May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants