Repository navigation
Commit 8faa050
committed
src: do not read the next line for an empty value
When an unquoted value was empty but followed by spaces or tabs, as in
`KEY= `, the parser trimmed the newline along with the whitespace and
took the next line as the value. Strip only spaces and tabs before
checking for an empty value.
Fixes: #67400
Assisted-by: Claude Code
Signed-off-by: TseIan <tseianxwc@gmail.com>1 parent e8c1160 commit 8faa050
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
197 | 202 | | |
198 | 203 | | |
199 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
0 commit comments