fix parsing query strings with empty values
Merge remote-tracking branch 'origin/master' into 1.4.5