News for hackers. Stuff that matters.
Re:Reddit launches image uploads, ditching alliance with Imgur by TeMPOraL on Thursday May 26, 2016 @01:31PM (#11779855)
Direct link is a significant "positive signal" for the following reasons:

- you implicitly expect it won't load code to your browser

- you implicitly expect it will serve the one and only one resource that you need

- you implicitly expect that after receiving the resource no further data will be exchanged between the client and the server

- you implicitly expect it will work well with the standard UI of your viewing platform - for instance, it will be pinch-zoomable on mobile, or zoomable with mouse in desktop browsers

- you expect to work well with applicable context; for instance, a direct image link should work in "href" attribute of "a" tag (resulting in an image being embedded on a website), it should work with curl or wget (resulting in a single image file being created on your hard drive), or just browser's "save" feature (again, resulting in a single image file being created)

I'd call breaking these things a dark pattern. A particularly nasty one at that, since it's poisoning the well. Breaking users' trust in that URLs do is one of the many subtle ways of fucking the Internet for everyone for personal profit.

There are no comments on this comment yet.