aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/output.php
AgeCommit message (Collapse)Author
2013-09-12Added function for escaping query strings and fixed several XSRF ↵Paweł Sroka
vulnerabilities.
2013-07-09Fixes #5706. Allowing parens in URIs if not last character.Brett Profitt
2013-04-29Fixes #2057 (broken internet archive links)Jeff Tilson
2013-04-20Fixes #5244 adds nofollow to anchor tags created by parse_urls()cash
2013-04-20Fixes #5369 allows ! in urls and adds unit testsCash Costello
2013-03-31Fixes #4972: More robust friendly titles implementationSteve Clay
2013-02-09remove unused code: vars, foreach keys, etcSteve Clay
2013-02-09Doc fixes and inline type hints for variables (big static analysis cleanup)Steve Clay
2013-01-25Fixes #4972 decode special chars before encoding for friendly titlescash
2012-12-10Fixes #1479. Added ElggAutoP. Removing [\n\r] from test strings before ↵Brett Profitt
compare to deal with differing whitespace between tags among PHP versions.
2012-12-06Merge branch 'pr-420' into 1.8Brett Profitt
2012-11-11Merge branch '4593-18' into 1.8Steve Clay
2012-11-07Better HTML decoding and output/email encodingSteve Clay
2012-11-04Fixes #1479 - Replaces WP autop with implementation from Steve Clay.Paweł Sroka
2012-10-19Added special checks for mailto: in elgg_normalize_url() and ↵Brett Profitt
elgg.normalize_url().
2012-06-26Fixes #2276: Better friendly titles, portable ElggTranslit class, better unitsSteve Clay
2012-02-25Fixes #3210. Keeping -s in URL friendly titles.Brett Profitt
2012-01-09coding standard fixes to engineCash Costello
2012-01-08most of the comments in the engine now past the snifferCash Costello
2011-12-17Fixes #4190 accepting full urls with non-ascii charactersCash Costello
2011-12-06Fixes #4173 removed use of \w since it is locale sensitivecash
2011-10-30removed non-overridable insertion of inline style to linksCash Costello
2011-10-12Fixes #3747. Using filter_var to check for any valid URI.Brett Profitt
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-09-26Fixes #2921 clearing new ignore internal variablescash
2011-05-19Fixes #3454 not stripping empty attributescash
git-svn-id: http://code.elgg.org/elgg/trunk@9102 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-11Fixes #3327 fixed typocash
git-svn-id: http://code.elgg.org/elgg/trunk@8982 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-26some light standardization of the core librariescash
git-svn-id: http://code.elgg.org/elgg/trunk@8843 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-10Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from ↵ewinslow
most urls in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-02Added comment explaining purpose of regexewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8557 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-02elgg_normalize_url leaves #target and ?query urls aloneewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8556 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12fixed bug in elgg_format_attributes() that caused none string values to be ↵cash
ignored git-svn-id: http://code.elgg.org/elgg/trunk@8152 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-03removes uses of $vars[url] from core and pluginscash
git-svn-id: http://code.elgg.org/elgg/trunk@8003 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Moved functions from export.php - river.php into deprecated filesewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7980 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Reversing 7975ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7978 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Refs #2839: moved deprecated functions from access.php - ↵ewinslow
private_settings.php to deprecated.php. Still have to do relationships.php - xml.php. Deleted documentation for these functions since 1) it was using up precious bytes, and 2) documentation should not be needed since people should not be trying to use these if they are using 1.8, and 3) I assume the documentation will exist as archived 1.7 docs. git-svn-id: http://code.elgg.org/elgg/trunk@7975 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-29supporting 'javascript:' when normalizing urlscash
git-svn-id: http://code.elgg.org/elgg/trunk@7956 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-01stop double encoding attributes in output/input elementscash
git-svn-id: http://code.elgg.org/elgg/trunk@7801 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Doesn't make any sense for elgg_format_attributes to default to an empty ↵ewinslow
array... git-svn-id: http://code.elgg.org/elgg/trunk@7355 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Refs #2143: Added elgg_format_attributes() for generating an attribute ↵ewinslow
string from an associative array. DRYed up input/output url git-svn-id: http://code.elgg.org/elgg/trunk@7354 36083f99-b078-4883-b0ff-0f9b5a30f544
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-11-04Fixes #2463: Added support for forwarding to root-level files, e.g. ↵ewinslow
forward('install.php') git-svn-id: http://code.elgg.org/elgg/trunk@7238 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-04Refs #2463 Added trim for leading /s to avoid //s when passing ↵brettp
elgg_normalize_url('/mod/some/file.php'). git-svn-id: http://code.elgg.org/elgg/trunk@7237 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-04Fixes #2463: Added ^ to beginning of normalize_url regex to prevent matching ↵ewinslow
on urls like mod/plugin/page.php. Added unit tests to verify functionality. git-svn-id: http://code.elgg.org/elgg/trunk@7236 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320. Updated core to use elgg_echo()'s native string replacement.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7227 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Added url normalization support to output/url, ↵ewinslow
output/confirmlink. Enhanced normalization to take care of urls like "example.com" git-svn-id: http://code.elgg.org/elgg/trunk@7199 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Removed stay { that was causing the regexp to breakewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7196 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Added elgg_normalize_url. forward() and add_menu() make use of itewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7194 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