arimelody/OpenTerminal

Server crash on directory read

Closed this issue · 1 comments

Requesting a directory as a file in the HTTP request causes a read attempt on a directory, which crashes the server.

Downloading version 1.0.3 of OpenTerminal and running the node server, simply run the command:
curl -k -v https://127.0.0.1:8080/styles

image

Ignore the extra output in the node terminal, that is just testing by me.