Change the working directory of a function or coroutine
#3
Off topic, but I really don't like the idea of a custom HTTP server. I've looked through your code, and already noticed that it doesn't handle uri encoding, and it has a path traversal vulnerability, as you don't pass a deliminator to StringSplit on host.lua line 25. Make sure you also handle \ for the path to fix problems on windows.
Reply
Thanks given by:


Messages In This Thread
RE: Change the working directory of a function or coroutine - by worktycho - 06-06-2015, 10:00 AM



Users browsing this thread: 5 Guest(s)