It's not safe to visit random URLs, especially URLs with parameters in them.
Show HN: UrlRoulette – Pass a URL to the next visitor
121–130 of 143 posts
Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#122Is this some sort of infosec performance art? This seems extremely inadvisable for users or the person running the site. What if someone posts something illegal in the jurisdiction of the viewer or a link to a site with an embedded exploit?
Is it worse than clicking random links on Reddit, other than maybe you can't see the url first?
Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#123Earlier quoted context omitted.
Generalizing about Reddit is hard. There are plenty of subreddits where outbound links are dangerous or offensive. Even one where they are almost guaranteed to have a 50/50 chance of being so. https://www.reddit.com/r/FiftyFifty/
I feel like every time I leave a comment on HN that is 98% true, someone comes a long to helpfully inform me of the remaining 2%. Sorry man, but that sort of thing just drives me nuts! Maybe I should paste a signature onto my posts. Something like "I estimate this comment to be 93 +/- 5% accurate. Please inform me of inaccuracies only if they fall out of those bounds." :)
Maybe I should have compared to outbound links on 4chan.
Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#124Of course, the first link I get starts an immediate download of the ubuntu 17.04 iso. Vindication on the first role.
Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#125Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#126I tried to put my own website but it says url invalid... something must be broken (for repro: http://sklivvz.com/ )
Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#127Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#128I tried submitting my personal site, https://dmitri.shuralyov.com , and got: URL seems to be invalid, please try again! I tried with and without scheme, no luck. Is it a bug? My site redirects from http to https for all queries.
It's because your site responds to HEAD requests with a 405. They are doing a HEAD request to see if the url is valid, and if it returns anything other than 200 OK, they reject the url. $ curl -IX HEAD https://dmitri.shuralyov.com/ HTTP/1.1 405 Method Not Allowed
Edit: I went with something like this [1] for now. It worked to solve this problem. I can adjust later as needed.
[1] https://github.com/shurcooL/home/commit/b4a601ff7a3752feb291...
Re: Show HN: UrlRoulette – Pass a URL to the next visitor
#129Earlier quoted context omitted.
It's because your site responds to HEAD requests with a 405. They are doing a HEAD request to see if the url is valid, and if it returns anything other than 200 OK, they reject the url. $ curl -IX HEAD https://dmitri.shuralyov.com/ HTTP/1.1 405 Method Not Allowed
Thanks. Do you have a recommendation on how I should handle HEAD requests? Edit: I went with something like this [1] for now. It worked to solve this problem. I can adjust later as needed. [1] https://github.com/shurcooL/home/commit/b4a601ff7a3752feb291...
Unless there's code farther down that sends content length, etags, etc. You would want to send those too. Though I don't know that it really matters much.