keycdn / cache-enabler

A lightweight caching plugin for WordPress that makes your website faster by generating static HTML files.
https://wordpress.org/plugins/cache-enabler/
123 stars 46 forks source link

unvalidated data being saved to advanced cache settings #128

Closed coreykn closed 4 years ago

coreykn commented 4 years ago

Currently the raw, unvalidated data received from the settings form is being recorded in the advanced cache settings file. This means if a regular expression was invalid it would still be recorded.

To fix this only validated data should be saved to the advanced cache settings file.