Skip to content
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

fix: Added validation for filenames having comma #463

Merged
merged 2 commits into from
Apr 21, 2024

Conversation

azaylamba
Copy link
Contributor

*Issue #452 *

Description of changes: Added validation so that filenames having comma cannot be uploaded. We are using comma as a separator later in the code and hence the upload fails if the file name has comma in it. This validation will ensure that filenames having comma are not allowed to be uploaded.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Added validation so that filenames having comma cannot be uploaded. We are using comma as a separator later in the code and hence the upload fails if the file name has comma in it.
This validation will ensure that filenames having comma are not allowed to be uploaded.
@azaylamba azaylamba changed the title Added validation for filenames having comma fix: Added validation for filenames having comma Apr 20, 2024
@bigadsoleiman bigadsoleiman merged commit 6a40028 into aws-samples:main Apr 21, 2024
1 check passed
@azaylamba azaylamba deleted the pdf-upload-error branch April 21, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants