You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that the --random-route option is meant to be used as a "soft authentication method", as shown in the README example.
Unfortunately, the generated token seems to appear in 404 pages, which makes the whole feature awkwardly useless...
I am using miniserve 0.5.0 (downloaded from the releases page) on Windows 10.
Here is what I get when doing miniserve --random-route and then curl http://127.0.0.1:8080/:
<body><!DOCTYPE html><html><metacharset="utf-8"><metahttp-equiv="X-UA-Compatible" content="IE=edge"><metaname="viewport" content="width=device-width, initial-scale=1"><title>404 Not Found</title><else><title>Index of 404 Not Found</title></else><style>
/* CSS code */
</style></html><divclass="error"><p>404 Not Found</p><p>Route / could not be found</p><divclass="error-nav"><aclass="error-back" href="/b0e615">Go back to file listing</a></div></div></body>
(HTML code was reformatted to improve readability.)
You can see the link to /[token] at the end
What's up the HTML markup BTW? It makes little sense...
The text was updated successfully, but these errors were encountered:
Hi!
I believe that the
--random-route
option is meant to be used as a "soft authentication method", as shown in the README example.Unfortunately, the generated token seems to appear in 404 pages, which makes the whole feature awkwardly useless...
I am using miniserve
0.5.0
(downloaded from the releases page) on Windows 10.Here is what I get when doing
miniserve --random-route
and thencurl http://127.0.0.1:8080/
:(HTML code was reformatted to improve readability.)
/[token]
at the endThe text was updated successfully, but these errors were encountered: