• Resolved sergefcleantalk

    (@sergefcleantalk)


    For example, we intercept a form from the Elementor plugin. The data array may contain elements with strings, numbers, or nested arrays. To ensure the stability of our plugin, we need to process any content.

    Please advise which method of early sanitization is preferable in this case?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    To more specifically reiterate what khady12 already said, you shouldn’t try to sanitize the entire data array using a single method. Instead separately validate and sanitize each field to the extent possible without overly restricting any user’s legitimate need.

    Thread Starter sergefcleantalk

    (@sergefcleantalk)

    Thanks for your reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.