Skip to content

verifying IP(input) #79

Description

@andvas0576

To whom it may concern,

when accepting input if number > 255 and no "." follows, instead of going through an error or filling empty spaces with "0". instead it accepts the input. as shown in the example below.

input_issues

Is the code supposed to behave this way, something I may be omitting for how IP address works?
Or is there something I may be doing wrong, down below is how I accept input from users.

read_input

for retrieving the input I just use a return statement of the user_ip variable.

Thanks in advance!
looking forward to learn more about this module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions