[wp-trac] [WordPress Trac] #59097: Upload via link

WordPress Trac noreply at wordpress.org
Mon Aug 14 14:13:12 UTC 2023


#59097: Upload via link
-----------------------------+------------------------------
 Reporter:  thedustry        |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upload           |     Version:  6.3
 Severity:  minor            |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by thedustry):

 Yes, If I past an image to a URL, or a PDF etc it will download it. I
 believe it should check the content-type header and if it is a known media
 type, ie pdf, png, svg, webp etc it should download it. If it is
 text/html, show a warning that your downloading a html page, not a media
 file and two buttons, download anyway and cancel. I don't understand what
 copy protection you are talking about. If the server returns a file (not a
 webpage), the user can just download said file with the browser. There is
 no way to add copy protection to a png file if it is just served from a
 webserver. The server could serve a webpage that embeds said image, but
 this would just show the html warning.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59097#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list