aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/input.php
AgeCommit message (Collapse)Author
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-17Fixes #2563 - setup autoload in elgglib.php so exceptions and other classes ↵cash
are available as soon as possible git-svn-id: http://code.elgg.org/elgg/trunk@7091 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-08Fixes #2161 - using filter_var() in email validation and moved ↵cash
is_email_address() to the input library git-svn-id: http://code.elgg.org/elgg/trunk@7036 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged [6600],[6601],[6605],[6606],[6607],[6608],[6611] from 1.7 branch into ↵cash
trunk git-svn-id: http://code.elgg.org/elgg/trunk@6843 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-04Added optional param to sanitise_filepath() that appends a / or not. Also ↵brettp
removes any ../s git-svn-id: http://code.elgg.org/elgg/trunk@6801 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-01get_input() defaults to NULL instead of empty string. Works better with ↵brettp
isset(). git-svn-id: http://code.elgg.org/elgg/trunk@6308 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14Merged 5928-6908 from 1.7 branch to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6059 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5605:5622 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5623 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-22Merged 1.7 bugfixes back into core. (5376:HEAD).brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5471 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1488: Removed use of deprecated functions in core. brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Fixes #1512: Using a helper function for mb_parse_str() instead of wrapping ↵brettp
it exactly. git-svn-id: http://code.elgg.org/elgg/trunk@3934 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-11Fixes #1501: Setting ini for mbstring.internal_encoding to utf8 to work ↵brettp
around a PHP bug. Replaced calls to parse_str() with elgg_parse_str(). git-svn-id: http://code.elgg.org/elgg/trunk@3932 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1398: autop() doesn't call missing clean_pre() function.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3890 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-30Setting a default value to avoid notices.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3863 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-30Refs #1425: Cleaned up regexp for parlse_urls().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3861 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-25Fixes #1450, Fixes #1461: Using $_SERVER['REQUEST_URI'] to pull in GET ↵brettp
params on apache servers. git-svn-id: http://code.elgg.org/elgg/trunk@3840 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-08Fixes #1172: URL now checked for trailing slash upon installation.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3787 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-16added comments on get_input and set_input since they do not handle nested arrayscash
git-svn-id: http://code.elgg.org/elgg/trunk@3760 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-22Refs #1330: Contributed autop() to Wordpress.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3573 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-23Updated the user picker to avoid possible mysql injection attacks and to ↵brettp
search only by leading chars. git-svn-id: http://code.elgg.org/elgg/trunk@3494 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-07Updated livesearch page handler to use classes instead of hard coded css.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3476 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-03Adding additional hooks to add/remove/update users for access_collections()brettp
Added autocomplete endpoint in input_init() git-svn-id: https://code.elgg.org/elgg/trunk@3460 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-01Closes #1097: Results set by set_input are now also filtered by get_input()marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3374 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-17Closes #833: Kses now built as modulemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3222 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-17Reverted lastmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3221 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-17small tweak to kses input, for now.dave
git-svn-id: https://code.elgg.org/elgg/trunk@3220 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-17Removed style on codemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3219 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-17Removed columnsmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3218 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-17Slightly more draconian kses rulesmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3217 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-01Closes #828: Quite correct - rather tired - arrays are individually trimmed ↵marcus
- non-arrays are not. Closes #714: Input filtering now triggers on a plugin hook, this allows plugins to provide other filtering methods than kses (Refs #561). git-svn-id: https://code.elgg.org/elgg/trunk@3009 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-01Closes #828: Array input values now trimmed individually.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3007 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-28Closes #665: Using a bit of preg callback magic to do <wbr> encoding and ↵marcus
href encoding in one pass. git-svn-id: https://code.elgg.org/elgg/trunk@3002 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-11Closes #684: Scratching a particular itch of mine by no longer hiding urls ↵marcus
when converting them to active links. This issue has caused many a headache. The url is now preserved but with a <wbr /> inserted after every /, this lets long urls be wrapped without breaking the url. git-svn-id: https://code.elgg.org/elgg/trunk@2717 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-10Refs #561: Split filtering into separate functionmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2709 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-12-29Closes #396: Form should probably not be permitted on input.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2517 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-20The input filter now deals with two-dimensional input arrays.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2285 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-29get_input can now be properly overridden by set_input. Fixes #324ben
git-svn-id: https://code.elgg.org/elgg/trunk@2142 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-01Closes #305marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2051 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-22Committing kses fixben
git-svn-id: https://code.elgg.org/elgg/trunk@2039 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-21Fixed input for people with magic quotes on.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2037 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-20Refs #273: Extra sanity checking on installmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2025 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-15Improved the kses whitelistben
git-svn-id: https://code.elgg.org/elgg/trunk@1941 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Adjusted contributors file.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544