承接 dmk/mksanitizedparameters 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dmk/mksanitizedparameters

最新稳定版本:v13.0.0

Composer 安装命令:

composer require dmk/mksanitizedparameters

包简介

Sanitize $_REQUEST, $_POST and $_GET before the processing of TYPO3 in backend or frontend starts. Take a look into the documentation how to add your own rules or see which one exist.

README 文档

README

TYPO3 compatibility Latest Stable Version Total Downloads Build Status License

What does it do?

Sanitizes all parameters in $_GET, $_POST and ServerRequestInterface $requestfor frontend and backend. Every possible parameter can be configured separately. The configuration can be for a specific position in the parameter array or common for every possible position or even default for all parameters, which are not configured.

This way possible attacks like MySQL injections can be prevented even for parameters where attack potential was not suspected. So unclosed security holes are harder or even not at all exploited.

Taking care of the correct data type of a parameter is now done in one single place. You don't need to call intval() for numeric parameters every time you use them (e.g. in a MySQL query). You can use them safe and directly without any further action at any place you want. You just have to provide the correct rule/configuration to be sure your code is not vulnerable to MySQL injections etc.

The sanitizing itself is done through the filter function of PHP. So you can take full advantage of it's features and provide even custom filters.

Features

The extension has 3 modes which can be configured through extension configuration:

  • stealth mode: simulate the sanitizing and log all theoretical actions. you also need to set a page id where the logs are written to.
  • log mode: every parameter which is sanitized (has changed) will be logged at warn level. This way you can investigate what happened. Either it was an attack attempt or the rules have to be adjusted.
  • debug mode: useful during development. every parameter which is sanitized (has changed) will be reported on the screen through a debug message.

Rules

Own rules for sanitizing a parameter can be registered easily. see rules

UsersManual

Rules

ChangeLog

统计信息

  • 总下载量: 31.69k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 2

GitHub 信息

  • Stars: 2
  • Watchers: 26
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固