NEU-Libraries / cerberus

Digital Repository Service
8 stars 0 forks source link

Download for streaming-only A/V file is triggered after logging in #1178

Closed sarahjeansweeney closed 5 years ago

sarahjeansweeney commented 5 years ago

Here's an odd one: a user reported that signing in to the DRS while on the file page for a streaming-only file triggered a download for the A/V file, which should be streaming-only. This particular DRS item should not have been public, so I corrected the permissions and it's no longer a good option for testing. I was able to replicate it with a different file I uploaded as a test: https://repository.library.northeastern.edu/files/neu:f1881m477

streamingonly

Steps to replicate:

  1. Log out of the DRS or go incognito to make sure you're not signed in
  2. Navigate to the file information page
  3. Click the Login button to sign in
  4. The browser with either prompt you where to download, automatically download, or start playing in the browser (I tried in 3 browsers and they each handled it differently, depending on my preferences)
dgcliff commented 5 years ago

All sorted