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

NoPorts Dashboard doesn't check for a imported profile for validity. #1581

Open
kimdimick opened this issue Nov 29, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@kimdimick
Copy link

Describe the bug

The NoPorts Dashboard allows importing a profile that includes a space at the end of the device atSign or the end of the device name.

Steps to reproduce

  1. First I imported the yaml profile called "device-atSign-plus-space-profile"
  2. The file was accepted even though the data in the file is invalid.
  3. Then I tried importing the profile called "device-name-plus-space-profile". The file was accepted.

Expected behavior

In both cases I expected the NoPorts Dashboard to produce an error indicating the profile is invalid and why. Also, I had to hand edit the "device-name-plus-space-profile" to add the space at the end of the device name because the NoPorts Dashboard UI wouldn't allow me to add a device name that included a space. I included the two profiles but had to add the .txt extension.

device-atSign-plus-space-profile.yaml.txt

device-name-plus-space-profile.yaml.txt

Screenshots

Screen.Recording.2024-11-29.at.2.45.50.PM.mov

Smartphones

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Were you using an atApplication when the bug was found?

No response

Additional context

No response

@kimdimick kimdimick added the bug Something isn't working label Nov 29, 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