Skip to content

CP-15418 - Fix completed Docuseal documents failing to open when the file name has spaces - #87

Merged
bernardodsanderson merged 1 commit into
mainfrom
CP-15418
Aug 31, 2026
Merged

CP-15418 - Fix completed Docuseal documents failing to open when the file name has spaces#87
bernardodsanderson merged 1 commit into
mainfrom
CP-15418

Conversation

@bernardodsanderson

Copy link
Copy Markdown
Collaborator

What

Completed Docuseal documents now open correctly even when the original file name contains spaces, parentheses, or other special characters. If a secure document link still cannot be generated, users now see a friendly error message instead of a raw "Access denied" page, and the failure is reported to error tracking.

Why

Customers could not view completed employee forms (for example "F-O-C-880 CLIENT CONFIDENTIALITY.docx (1)") from the employee Documents tab. The signed link was built from the un-encoded file name, so the browser's version of the URL no longer matched the signature and access was denied. The files were never lost; the link was just invalid.

How to test

Open an employee's Documents tab and click a completed Docuseal form whose file name contains spaces or parentheses. The PDF should open. Also confirm a document with a plain file name (no spaces) still opens as before.

…file name has spaces

What
Completed Docuseal documents now open correctly even when the original file name contains spaces, parentheses, or other special characters. If a secure document link still cannot be generated, users now see a friendly error message instead of a raw "Access denied" page, and the
failure is reported to error tracking.

Why
Customers could not view completed employee forms (for example "F-O-C-880 CLIENT CONFIDENTIALITY.docx (1)") from the employee Documents tab. The signed link was built from the un-encoded file name, so the browser's version of the URL no longer matched the signature and access was
denied. The files were never lost; the link was just invalid.

How to test
Open an employee's Documents tab and click a completed Docuseal form whose file name contains spaces or parentheses. The PDF should open. Also confirm a document with a plain file name (no spaces) still opens as before.

@jewls618 jewls618 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bernardo the the ‘rescue’! ✅

@bernardodsanderson
bernardodsanderson merged commit e33cda0 into main Aug 31, 2026
5 checks passed
@bernardodsanderson
bernardodsanderson deleted the CP-15418 branch August 31, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants