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

Relax name constraints #4230

Merged
merged 9 commits into from
Mar 5, 2024
Merged

Relax name constraints #4230

merged 9 commits into from
Mar 5, 2024

Conversation

ericpgreen2
Copy link
Contributor

@ericpgreen2 ericpgreen2 commented Mar 4, 2024

This PR relaxes file name constraints. Now, the only restriction on file names is that they cannot contain the following special characters: /, <, >, :, ", \, |, ?, or *

Additionally, this PR fixes a long-standing issue where the frontend would sometimes include an extra leading / when referencing a file name in an API call, e.g. http://localhost:9009/v1/instances/default/files/-//models/model1.sql.

Closes #4132

@ericpgreen2 ericpgreen2 self-assigned this Mar 4, 2024
@ericpgreen2 ericpgreen2 added Team:Applications Applications Working Group customer labels Mar 4, 2024
@ericpgreen2 ericpgreen2 marked this pull request as ready for review March 4, 2024 22:45
Copy link
Collaborator

@AdityaHegde AdityaHegde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small nit

web-common/src/features/entity-management/name-utils.ts Outdated Show resolved Hide resolved
@ericpgreen2 ericpgreen2 merged commit 463be92 into main Mar 5, 2024
4 checks passed
@ericpgreen2 ericpgreen2 deleted the relax-name-constraints branch March 5, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer Team:Applications Applications Working Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relax restrictions for object naming conventions
2 participants