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

  1. On Drupal 11, upload an encrypted file.
  2. Try downloading the file using the /encrypt/files/{filepath} route.
  3. 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

CommentFileSizeAuthor
#3 3561657-1.patch1.03 KBjelleglebbeek
Command icon 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

jelleglebbeek created an issue. See original summary.

jelleglebbeek’s picture

StatusFileSize
new1.03 KB

I've attached a patch that can be applied, so the PathProcessor starts working again in D11.

jelleglebbeek’s picture

Status: Active » Needs review

dmundra made their first commit to this issue’s fork.

dmundra’s picture

Assigned: jelleglebbeek » dmundra
dmundra’s picture

Status: Needs review » Fixed

Confirmed fix and merged into latest dev branch.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

dmundra’s picture

Status: Fixed » Closed (fixed)