-
Notifications
You must be signed in to change notification settings - Fork 9.1k
File name pattern regex filter not working #2823
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
Comments
Are digits allowed only at the end of the filename or at any place? |
|
@karenetheridge this is OpenAPI 2.0, where non-body parameters don't use |
I have a file parameter on which I want to apply a regex pattern so that only file names with a certain set of chars is allowed.
For example, I only want file names like this to be allowed through:
filename.csv
fileName.csv
FileName.csv
FILENAME.CSV
file-name.csv
file_name.csv
file-name123.csv
file_name123.csv
In other words, I want file name to have ONLY: alphanumeric with dash, underscore and dot, mixed cases, (NO SPACES)
The following pattern allows everything, even file names with spaces and should not.
The following pattern doesn't allow anything through...
Looked through Docs and saw nothing helpful for this.
Am I missing something?
Thanks!
The text was updated successfully, but these errors were encountered: