Free Support Forum - groupdocs.com

Curly Braces In File Name Issue

If a file has curly braces “{”, “}” in the file name an exception is thrown when calling GroupDocs.Viewer.Handler.GetPages

Example can be seen here:
https://docs.battelleforkids.org/?file=https://static.battelleforkids.org/Collaboration/Documents/Uploaded/b6fef8c6-1441-4a29-9fa4-4be1a59f64f2/b6233649-8fc6-46c7-ad21-c7718c8c7ad8-{LC1}%204Cs%20Leadership%20Practices%20Reflection.pdf&v=1

Removing “{LC1}” from the file name fixes the issue but thought you guys should be aware.

@cschrader,

Thanks for using GroupDocs.Viewer and sharing your concern with us.

We are able to reproduce your reported issue at our end. We have logged the issue as VIEWERNET-1682 in our internal Issue Tracking System for further investigation. We shall keep you informed in case of any updates.

Thanks Usman - I think the issue may be isolated to PDFs since a user was able to successfully upload a Word document with the same name.

@cschrader,

Thanks for providing the additional information. We shall investigate the issue and keep you notified in case of any updates.

@cschrader,

The issue you have found earlier (logged as VIEWERNET-1682) has been fixed in this release.

Thanks Usman!

@cschrader,

You’re welcome.