Application Error Disclosure - HTML

Filed under PHP 7.1

Sunday
26.
March 2017

Application Error Disclosure

After a few OWASP Penetration tests an “Application Error Disclosure” error has occurred.

PHP Warning: Smarty error: validate: validator id ‘name’ is not registered. in …
PHP Warning: Smarty error: validate: validator id ‘email’ is not registered. in …
PHP Warning: Smarty error: validate: validator id ‘www’ is not registered. in …
PHP Warning: Smarty error: validate: validator id ‘content’ is not registered. in …

This Smarty Validate Class error should have been fixed since a few years, but were still contained.

HTML - Responsive web design (RWD)

If you want to make your Flatpress theme suitable for mobile devices and test against the NU HTML Validator, you get some errors.

Changed line 170 in /fp-includes/core/core.theme.php from

echo '<link media="screen,projection,handheld" href="';

to

echo '<link media="screen" href="';
 

Top of Page