🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "whitelist"

Found 2 matching component(s)

  • function allowed_file

    Validates whether a filename has an allowed file extension by checking if it contains a dot and if the extension (case-insensitive) exists in a predefined ALLOWED_EXTENSIONS collection.

    File: /tf/active/vicechatdev/leexi/app.py

    validation file-upload security flask file-extension
  • function allowed_file_v1

    Validates whether a given filename has an allowed file extension by checking if the extension exists in a configured whitelist.

    File: /tf/active/vicechatdev/full_smartstat/app.py

    file-validation security file-upload extension-check whitelist

Search Examples