Commit Graph

14 Commits

Author SHA1 Message Date
Derick Rethans
17bc1d09e8 - Implemented user level data filter.
- Fixed a memory leak.
2005-10-04 14:47:30 +00:00
Derick Rethans
6f9c13f222 - Add a function that returns whether a specific input variable exists or not. 2005-10-04 13:42:52 +00:00
Derick Rethans
01520328e6 - Implemented input_filters_list() function to return all supported filters. 2005-09-28 09:10:45 +00:00
Derick Rethans
74c7eb7723 - Implemented callback filter. 2005-09-26 18:38:49 +00:00
Derick Rethans
c319c60125 - Implement validate_ip filter for IPv4. 2005-09-26 13:45:38 +00:00
Derick Rethans
12945df662 - Implemented validate_url filter. 2005-09-26 06:57:05 +00:00
Derick Rethans
47236d7fc7 - Implemented filter_int, filter_float and filter_bool. 2005-09-23 23:09:47 +00:00
Derick Rethans
9000038bd2 - Changed variable handling code so that filter flags work for the unsafe_raw
filter.
- Added better support for \0 characters.
- Added utility function to HTML encode low/high characters.
- Added support for encode low/high flags to the string and special_chars
  filter.
- Added support for strip and encoding flags to the unsafe_raw filter.
2005-09-22 14:32:28 +00:00
Derick Rethans
66e3c106d1 - Removed ALLOW_SIGN filter flag, as this will always be allowed.
- Added ALLOW_SCIENTIFIC flag for the FS_NUMBER_FLOAT filter.
- Implemented string, encoded, special_chars, unsafe_raw, email, url,
  number_int, number_float and magic_quotes filters.
2005-09-22 10:06:57 +00:00
Derick Rethans
bc0308b2e4 - Moved constants to private .h file
- Added comments to filter stubs as per discussion with Ilia
- Renamed regexp to validate_regexp filter
- Added stubs for validate_url, validate_email and validate_ip filters.
- Implemented "string" (stripped) filter
2005-09-20 15:01:42 +00:00
Rasmus Lerdorf
868c4b72df Add FS_STRIPPED alias 2005-09-15 03:16:09 +00:00
Derick Rethans
8774e8e1aa - Updated the framework, cleaned up some code.
#- Basically the only real thing left is the body for the filters.
2005-09-06 18:46:37 +00:00
Rasmus Lerdorf
e56660a1ad Correct handling of the UNSAFE_RAW filter 2005-05-19 21:08:04 +00:00
Rasmus Lerdorf
06aede5b5d Filter skeleton code. No actual filters yet. 2005-02-23 22:41:43 +00:00