when download private file and not in "private://demo/", it will be "Access Deny".
I write a patch to fix it.

Comments

agrozyme created an issue. See original summary.

agrozyme’s picture

Title: let demo_file_download only process file in "private://demo/" » let demo_file_download only process file in 'private://demo/'
agrozyme’s picture

StatusFileSize
new1.94 KB

- use other simple way to fix
- fix route: admin/structure/snapshots/config/delete (filename case sensitive)

agrozyme’s picture

StatusFileSize
new2.28 KB

- fix: Cannot declare class Drupal\demo\Form\ChangeSync

  • gaurav.kapoor committed 8e3c5ed on 8.x-1.x authored by agrozyme
    Issue #3022320 by agrozyme: let demo_file_download only process file in...
gaurav.kapoor’s picture

Status: Active » Fixed

Important changes, but I guess some more work will have to be done in this area. Push this much for now, will add issues if there is any error/change needed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.