bunway
    Preparing search index...

    Interface HppOptions

    interface HppOptions {
        checkBody?: boolean;
        checkQuery?: boolean;
        whitelist?: string[];
    }
    Index

    Properties

    checkBody?: boolean

    If true, also sanitize req.body (for urlencoded bodies with duplicate keys). Default: true

    checkQuery?: boolean

    If true, store the original polluted query values in req.locals.queryPolluted. Default: true

    whitelist?: string[]

    Parameters that are allowed to have multiple values (arrays). All other duplicated parameters will be reduced to their last value. Default: [] (no whitelist — all duplicates reduced)