Problem/Motivation
When I use this module to upload a file from a webform, I cannot seem to download it using the created download URL. The PathProcessor doesn't seem to attach the 'file' query parameter, resulting in a 404 on Drupal 11.
Steps to reproduce
- On Drupal 11, upload an encrypted file.
- Try downloading the file using the /encrypt/files/{filepath} route.
- A 404 is served.
Proposed resolution
Remove the leading backslashes in the services file, so the path processor is hit again. Ensuring that the 'file' query parameter is set.
Remaining tasks
None
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3561657-1.patch | 1.03 KB | jelleglebbeek |
Issue fork file_encrypt-3561657
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jelleglebbeek commentedI've attached a patch that can be applied, so the PathProcessor starts working again in D11.
Comment #4
jelleglebbeek commentedComment #6
dmundraComment #7
dmundraConfirmed fix and merged into latest dev branch.
Comment #9
dmundra