1 个仓库
Constraints on the total number of key-value pairs allowed in a query string to prevent denial-of-service attacks.
Distinct from Query Parameter Manipulators: Distinct from general manipulation: focuses specifically on security-related quantity limits rather than modifying the parameters themselves
Explore 1 awesome GitHub repository matching web development · Parameter Count Limits. Refine with filters or upvote what's useful.
qs 是一个查询字符串解析和序列化库,用于将 URL 查询字符串转换为 JavaScript 对象,并将对象或数组转换回 URI 编码的字符串。它作为一个安全的解析器和 URI 编码实用程序,专门设计用于处理嵌套数据结构。 该库通过可配置的嵌套样式和数组序列化格式脱颖而出。它支持自定义字符编码逻辑,并利用字符集哨兵来管理 UTF-8 和 ISO-8859-1 之间的转换。 为了防止资源耗尽和安全漏洞,该项目实现了参数计数限制和严格的解析深度限制。它还包括空值处理、基于谓词的键过滤以及可插拔的编码函数,以管理数据的序列化方式。
Prevents denial-of-service attacks by enforcing a maximum limit on the number of parameters allowed in a query string.