diff --git a/properties.go b/properties.go index 5712b6a..4efa90e 100644 --- a/properties.go +++ b/properties.go @@ -103,6 +103,9 @@ func (p *Properties) Load(buf []byte, enc Encoding) error { // Otherwise, ok is false. func (p *Properties) Get(key string) (value string, ok bool) { v, ok := p.m[key] + if v == "" { + return "", false + } if p.DisableExpansion { return v, ok }