servor icon indicating copy to clipboard operation
servor copied to clipboard

Exception handling in the `decodeURI` function is required.

Open min9nim opened this issue 2 years ago • 1 comments

error occurred and server is killed.

/usr/local/lib/node_modules/http-server-spa/server.js:76
    const resource = path.join(cwd, root, decodeURI(uri));
                                          ^

URIError: URI malformed
    at decodeURI (<anonymous>)
    at Server.<anonymous> (/usr/local/lib/node_modules/http-server-spa/server.js:76:43)
    at Server.emit (node:events:513:28)
    at parserOnIncoming (node:_http_server:1091:12)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)

min9nim avatar Sep 02 '23 14:09 min9nim