Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash in DotEnv parser #2523

Merged
merged 3 commits into from Dec 11, 2020

Conversation

antoinepalazzolo
Copy link
Contributor

@antoinepalazzolo antoinepalazzolo commented Nov 4, 2020

Previously, when .env file with a comment as the last line was parsed, an infinite recursive loop crashed the application.
The comment is now properly skipped.

@0xTim
Copy link
Member

0xTim commented Nov 18, 2020

@antoinepalazzolo could you update the code so it can be merged?

Copy link
Member

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

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

LGTM

@0xTim
Copy link
Member

0xTim commented Nov 18, 2020

Additionally if you could update the description of the PR - that will become the release notes for the release. Thanks!

@0xTim 0xTim added the semver-patch Internal changes only label Nov 18, 2020
@antoinepalazzolo antoinepalazzolo changed the title fix dot env parser infinite loop Fix crash in DotEnv parser Nov 18, 2020
@0xTim 0xTim merged commit 5148f02 into vapor:master Dec 11, 2020
@tanner0101
Copy link
Member

These changes are now available in 4.36.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Internal changes only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants