Blank File When Accessing Without Correct Permissions

Created on 28 December 2018, almost 6 years ago
Updated 16 November 2023, about 1 year ago

We are currently using CSV Serialization with REST Export to export data into a CSV file. This view is setup to only allow users with certain node access / edit permissions to access this view data export path and download the file.

However, we are noticing some strange behavior that varies by browser when attempting to access this URL without the correct permissions.

Chrome: Responds as expected - says the page could not be accessed / access denied.
Safari: Encounter a blank screen (no access denied message) and a blank "export.dms" file is downloaded.
Firefox: A blank white screen appears - no message, no blank file, just nothing.

Is there a way to remove the export.dms that is downloading on Safari, as this looks highly suspect to access a page and have a blank file downloaded onto the user's computer.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024