#6268 - Use filter_var for input_filter

  • By
  • Added
  • 8 views
Identifier #6268
Issue type Feature request or suggestion
Title Use filter_var for input_filter
Status Open
Tags

Roadmap: Over the horizon (custom)

Handling member Deleted
Addon core
Description Where possible, use PHP's built-in filter_var in the input_filter.php API.
Steps to reproduce

Additional information This may be more secure than trying to maintain our own implementation of filters that PHP already provide and maintain.

Of course, this won't replace everything (e.g. Comcode filtering). And there may be some nuances we must consider. But filter_var also allows for custom filters through callbacks.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated