mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-05 16:02:32 +00:00
The .conf parser split every key=value at each =, and dropped the parameter when that gave more than two parts, so a base64 password or key vanished without a word. The same applied to [Env], [General] and [Host] lines. A comma could not be written at all, and a positional value containing = was skipped while still counting as a position, which shifted the ones after it. A key=value is now split at its first =. In [Proxy] and [Proxy Group] lines a value in double quotes is taken whole, commas included, and positional values are counted among themselves. A quote opens a value only at its start or right after key=, so one inside a value, as in password=ab"cd, stays an ordinary character, and a quote that never closes quotes nothing rather than taking the rest of the line.