Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    IP address validation in API

    Scheduled Pinned Locked Moved General
    2 Posts 2 Posters 439 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      fa__
      last edited by

      Hello,

      I have noticed that IPv4 address is not validated through the API in the same way it is validated in the web.

      When created in the web, it is not acceptable to include an address that is not the IP range of the net or that already exits. However, there are no issues in doing so using the API.

      I have been able to reproduce this both on i-doit demo and on my i-doit 1.18.2 OPEN installation.

      Is there a way to enforce IPv4 address validation through the API?

      Michael HuhnM 1 Reply Last reply Reply Quote 0
      • Michael HuhnM Offline
        Michael Huhn @fa__
        last edited by

        Hey @fa__,

        there is acutally no validation for these Attributes in the API.
        A feature feedback exists.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post