Transcode ISO-8859-1 in HTTP headers
If we keep making changes like this, redbean might not be a toy anymore. Additional steps are also being taken now to prevent ANSI control codes sent by the client from slipping into logs.
This commit is contained in:
2
tool/net/redbean-xhr.lua
Normal file
2
tool/net/redbean-xhr.lua
Normal file
@@ -0,0 +1,2 @@
|
||||
-- redbean xhr handler demo
|
||||
SetHeader('X-Custom-Header', 'hello ' .. GetHeader('x-custom-header'))
|
||||
Reference in New Issue
Block a user