1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

User filter fixes

This commit is contained in:
CaMer0n
2011-11-29 23:37:44 +00:00
parent 5945062962
commit 076f03b696
4 changed files with 85 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
// $Id$
//<?
global $pref;
/**
@@ -23,8 +24,8 @@ global $pref;
[link=external=http://mysite.com]My text[/link]
*/
$parm = trim($parm);
$tp = e107::getParser();
$parm = $tp->dataFilter(trim($parm),'link');
/* Fix for people using link=external= */
if(strpos($parm,"external=") !== FALSE)