restruct/silverstripe-form-obfuscator

Form obfuscator (anti-spam) for SilverStripe

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

2.0.3 2021-09-11 15:10 UTC

This package is auto-updated.

Last update: 2024-04-11 20:48:20 UTC


README

A RequestProcessor filter to automatically obfuscate all form URLs in all HTML output via the ContentController by replacing them with an encoded (switching between ASCII & hexadecimal) version.

Example

<form action="/cursus/">

becomes:

<form action="&#47;&#x63;&#117;&#x72;&#115;&#x75;&#115;&#x2f;">

Requirements

  • SilverStripe 3+

Usage

The filter automatically encodes all form action URLS outputted through the ContentController provided it contains the default text/html header.

No configuration required.