Thanks for posting your question in the Microsoft Q&A forum.
Yes, this was a bug reported under issue number 9290 and was addressed in a fix that was implemented on October 12, 2023. You can find more details about the bug fix in the following GitHub pull request: https://github.com/Azure/azure-functions-host/pull/9402. Your issue should now be resolved.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful