Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix parsing of unquoted values with two spaces
If a value is unquoted and has two or more adjacent spaces (like in `a=b c`), the parser would detect an error. This commit fixes that. Tabs and other whitespace characters are now also considered like space characters in this case and I added relevant test cases.
- Loading branch information
Showing
with
35 additions
and 18 deletions.
- +4 −1 CHANGELOG.md
- +3 −9 src/dotenv/parser.py
- +28 −8 tests/test_parser.py