Lucee API response has additional blank lines prefix bug in version 5.3.x

I have encounter a problem where the json API response has blank lines preceeding it. For example:

{"detail": "some details"} 

will become:

{"detail": "some details"}

It was working fine in earlier version (5.2.x). The preceeding blank lines cause the receiving code interpreting the response as string instead of json.

Is this a bug or something intended?


@jodi, I’ve checked it & it returns a response with additional blank lines in lucee. But, ACF doesn’t do this. so, the issue has been replicated in lucee latest version also. I’ve tried an earlier version of 5.2.x. But, this also returns a response with blank lines.