-
Notifications
You must be signed in to change notification settings - Fork 7
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 filename regex #328
Comments
Reopening as I'm still seeing an error. There seems to be entanglement between the regex and JSON escaping, and Milen mentioned that there may be some legacy escaping functionality within schematic itself. Intend to test behaviour in the refactor. |
Re-opening as the PR #333 was a temp fix. |
As of 23-12 close out, Adam cannot get this to work. Seem to be multiple limitations at different staging (possible bugs re: escape characters).
Mitigation:
Approach:
Come back to after DR5. Another question is which file name platforms we need to support, Synapse, AWS, GCP, DRS, generic S3 protocols, SD, and CDS |
Email from Amanda: File Naming Conventions |
For Synapse This looks like the entity name regex, not sure where it is in the docs. I think there's a nice error response (that includes the allowable characters) if you have an invalid character in your entity name
|
For AWS S3 The following character sets are generally safe for use in key names. Alphanumeric characters a-z A-Z Special characters Hyphen (-) Underscore (_) Period (.) Asterisk (*) Single quote (') Open parenthesis (() |
Intersection appears to be only Alphabets (a-z, A-Z) SB confirmed that underscore is permissible |
Through HTAN phase 1, take the approach of fixing any illegal file names. names (Clarisse is doing this already). Pick this back up as part of ID/file naming guidance in renewal. |
Per FDS-1416 we were getting a DCA crash due to an invalid regex for the attribute
Filename
.Investigation revealed that the baskslash escape of the forward slash was not needed.
The text was updated successfully, but these errors were encountered: