Closed florolf closed 6 years ago
Check whether inputbuf is defined instead of evaluating it for truth.
The old behavior caused a body consisting only of "0" to disappear; this commit fixes the problem.
This is essentially a duplicate of https://github.com/PerlDancer/Dancer/pull/858.
Can you provide a unit test to address it?
Check whether inputbuf is defined instead of evaluating it for truth.
The old behavior caused a body consisting only of "0" to disappear; this commit fixes the problem.
This is essentially a duplicate of https://github.com/PerlDancer/Dancer/pull/858.