psi-4ward / psitransfer

Simple open source self-hosted file sharing solution.
BSD 2-Clause "Simplified" License
1.45k stars 211 forks source link

Auto-redirect the direct download link to its download page? #265

Closed droplinxuser closed 7 months ago

droplinxuser commented 1 year ago

Basically the same as this request: https://community.cloudflare.com/t/how-do-i-use-cf-rewrite-url-to-redirect-a-direct-link/475260

It would be great if it can be done on the main web app.

Maytrok commented 7 months ago

Hi,

i didn't get the point. A normal user does not know the direct file link, or i miss something. However this can solved with csrf protection. But i think the goal of this project is simplicity, so that will be not a thing

droplinxuser commented 7 months ago

Yeah, I've done this via nginx redirect and mapping now.