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

Port validation in the Run Image Page is not properly validating the port value until port number has 4 digits #6390

Closed
odockal opened this issue Mar 12, 2024 · 2 comments · Fixed by #7077
Assignees
Labels

Comments

@odockal
Copy link
Contributor

odockal commented Mar 12, 2024

Bug description

port_already_in_use

Operating system

Fedora 39

Installation Method

Installer from website/GitHub releases

Version

1.8.0

Steps to reproduce

  1. Start container with a port exposed (httpd-24)
  2. Try to create/start another container with exposed port
  3. Assert: default port is different from first app.
  4. Try to change the port number and see validation message
  5. Assert: Port number is evaluated and the message fits
    Actual result: port number under < 1000 shows unfitting message (port X is already in use)

Relevant log output

No response

Additional context

Given the message here, I am assuming that port number < 1000 is not a problem. Also, not a number character should probably trigger different message, although the message is not incorrect then.

Screenshot_20240312_165525

@odockal odockal added kind/bug 🐞 Something isn't working area/ui labels Mar 12, 2024
@benoitf
Copy link
Collaborator

benoitf commented Mar 12, 2024

maybe a dup of #6364

@axel7083
Copy link
Contributor

axel7083 commented Apr 8, 2024

I am not reproducing on Windows

port.mapping.windows.under.1000.mp4

@vzhukovs vzhukovs self-assigned this Apr 18, 2024
@vzhukovs vzhukovs linked a pull request May 3, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✔️ Done
Development

Successfully merging a pull request may close this issue.

4 participants