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

    IP address validation in API

    Scheduled Pinned Locked Moved General
    2 Posts 2 Posters 315 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
        • First post
          Last post