[Bug?]: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["X-Error"] #1709
Open
2 tasks done
Labels
bug
Something isn't working
Duplicates
Latest version
Current behavior 😯
POST
/_server
returns500 Internal Server Error
Expected behavior 🤔
POST
/_server
returns200 OK
Steps to reproduce 🕹
Steps:
todomvc
example usingnpm create solid
Context 🔦
Console log shows an error:
It seams we should encode error message text here: packages/start/src/runtime/server-handler.ts#setHeader(h3Event,"X-Error",error.message)
Related:
Your environment 🌎
The text was updated successfully, but these errors were encountered: