Skip to content

Secure file upload - email link is incorrect #670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
softlightMatt opened this issue Jan 12, 2025 · 0 comments
Open

Secure file upload - email link is incorrect #670

softlightMatt opened this issue Jan 12, 2025 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@softlightMatt
Copy link

I've created a job application form that has a secure file upload for CVs/Resumes.
When we receive the email with the application form information we also get a link to the uploaded file, which should only accessible when logged into the admin panel.

However, when I log in the link still goes to a "Page Not Found" page.

If I download the form data (the data doesn't fit on the form view page, might be another issue), the link is to the specific file, i.e. example.com/protected/[encrypted_name]/[file_name].pdf
The link in the email includes white space, and so doesn't highlight the full link, it just shows the bit up to the white space and then continues the text outside of the link.

Steps to reproduce

Steps to reproduce the behavior:
Create web form with upload file.
Upload file with file name like: "This is an example.docx"
email received will show: http://example.com/protected/[encrypted_name]/This (LINK) is an example.docx (NOT LINK)

Expected behavior

Filename should be encoded for web so that the link displays properly in the email.

@softlightMatt softlightMatt added the Type: Bug Something isn't working label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant