Add raw link to the file #390

Closed
opened 2026-01-19 18:30:08 +00:00 by michael · 1 comment
Owner

Originally created by @esamattis on GitHub.

transfer.sh seems to do some kind of user agent sniffing and it displays the files in a HTML wrapper in the browser. Which is fine, but it should also display a raw link to the file which does not ever add the wrapper because now it is impossible to view images in their full size or use JSON-formatting extensions to view json files in browser.

Originally created by @esamattis on GitHub. transfer.sh seems to do some kind of user agent sniffing and it displays the files in a HTML wrapper in the browser. Which is fine, but it should also display a raw link to the file which does not ever add the wrapper because now it is impossible to view images in their full size or use JSON-formatting extensions to view json files in browser.
Author
Owner

@nl5887 commented on GitHub:

When we had links to the raw url, the service was abused by phishers which included the raw images and scripts within their phishing sites. We've chosen for a solution that when the referer is transfer.sh the raw file will be shown. I'll look into a solution.

@nl5887 commented on GitHub: When we had links to the raw url, the service was abused by phishers which included the raw images and scripts within their phishing sites. We've chosen for a solution that when the referer is transfer.sh the raw file will be shown. I'll look into a solution.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#390