list of disallowed special characters for filenames is not accurate #8926
Labels
Feature: File Upload & Handling
Hackathon: Low Hanging Fruit
hacktoberfest
It's Hacktoberfest! https://groups.google.com/g/dataverse-community/c/n_Nn_T2yA-w/m/BcoXO4tEAQAJ
Help Wanted: Code
Help Wanted: Documentation
Mentor: pdurbin
Type: Bug
a defect
User Role: Depositor
Creates datasets, uploads data, etc.
Working on CORE2 which uploads to dataverse, I'm writing code to prevent certain characters in filenames.
Testing Dataverse's restrictions, it reports
File Name cannot contain any of the following characters: / : * ? " < > | ; # .
This info is incorrect for at least two reasons:
!$%&’()+,-=@[\]^_{}~
. It seems this is because the\
character is prevented as well..
character is not actually prevented by Dataverse as far as I can tell, even if its used multiple times.It would be useful for the user to have a more accurate error message. Also would be useful if this was in the documentation (I may have missed it). This happens on 5.3 and 5.10.1
The text was updated successfully, but these errors were encountered: