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

[Bug Report] WebUI Template File Naming Error Not Descriptive of Acual Config Issue. #641

Open
djripcord opened this issue Jan 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@djripcord
Copy link

Describe the bug
WebUI error not descriptive enough when naming project compose templates incorrectly. Some chars are not permitted in the title of a template. An example of a disallowed char would be "/". When a user attempts to create a template with this character in the title, the error "Not Found: Not Found" is displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'projects'.
  2. Attempt to save your compose template with a "/" in the name.
  3. Click 'submit'.
  4. See error

Expected behavior
An error handle to catch and display something like "Invalid character in title. Disallowed characters are: "/ \ #"" etc...

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Yacht Version: v0.0.7-alpha-2023-01-12--05

Additional context
Different behavior when using a "#" instead of "/" This could indicate an underlying security/sanitation issue.

@djripcord djripcord added the bug Something isn't working label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant