承接 jweiland/mail-link-fixer 相关项目开发

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

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

jweiland/mail-link-fixer

最新稳定版本:1.0.0

Composer 安装命令:

composer require jweiland/mail-link-fixer

包简介

Mail Link Fixer (EXT:mail_link_fixer) - CLI command to fix javascript:linkTo_UnCryptMailto() hrefs in RTE Fields

README 文档

README

Packagist Latest Stable Version Total Downloads Monthly Downloads TYPO3 13.4 TYPO3 14.3

Build Status

This extension provides a CLI command to migrate legacy javascript:linkTo_UnCryptMailto() links in the database into standard mailto: links, allowing modern TYPO3 versions (v12/v13) to natively handle frontend spam protection.

1 Features

  • Safely reverses legacy Caesar-cipher encrypted email links directly in the database.
  • Rebuilds broken <a href="javascript:..."> tags into standard <a href="mailto:..."> tags.
  • Dynamically scans the global TYPO3 TCA to find and process all Rich Text (RTE) and standard text fields.
  • Includes a robust --dry-run mode to preview changes without altering database records.

2 Usage

2.1 Installation

Installation using Composer

The recommended way to install the extension is using Composer.

Run the following command within your Composer based TYPO3 project:

composer require jweiland/mail-link-fixer

2.2 Command Usage

The extension registers the following CLI command via the TYPO3 Console:

vendor/bin/typo3 mail_link_fixer:fix-spam-email [options]

Options

Option Short Description
--dry-run Preview changes without writing to the database.
--uid=<UID> Process only the tt_content record with this UID.
--table=<table> -t Specific table to process (default: tt_content).
--field=<field> -f Specific field to process (default: bodytext).
--all-rte Scan all tables and fields in TCA configured with enableRichtext=true.

Examples

Preview all changes without touching the database:

vendor/bin/typo3 mail_link_fixer:fix-spam-email --dry-run

Fix a single record by UID:

vendor/bin/typo3 mail_link_fixer:fix-spam-email --uid=42

Process a specific table and field:

vendor/bin/typo3 mail_link_fixer:fix-spam-email --table=tx_myext_domain_model_news --field=bodytext

Scan and fix all RTE fields across the entire TCA:

vendor/bin/typo3 mail_link_fixer:fix-spam-email --all-rte

Combine --all-rte with --dry-run for a safe full-site preview:

vendor/bin/typo3 mail_link_fixer:fix-spam-email --all-rte --dry-run

Add -v for verbose output that shows the number of replacements per record:

vendor/bin/typo3 mail_link_fixer:fix-spam-email --all-rte -v

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固