fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17045] cleaner


From: sigurdne
Subject: [Fmsystem-commits] [17045] cleaner
Date: Sat, 9 Sep 2017 15:24:20 -0400 (EDT)

Revision: 17045
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17045
Author:   sigurdne
Date:     2017-09-09 15:24:20 -0400 (Sat, 09 Sep 2017)
Log Message:
-----------
cleaner

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.data_cleaner.inc.php

Modified: trunk/phpgwapi/inc/class.data_cleaner.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.data_cleaner.inc.php       2017-09-09 15:42:34 UTC 
(rev 17044)
+++ trunk/phpgwapi/inc/class.data_cleaner.inc.php       2017-09-09 19:24:20 UTC 
(rev 17045)
@@ -259,6 +259,10 @@
                                        {
                                                $url = $m[2];
                                        }
+                                       else if(preg_match('/^mailto:/i', 
$m[2]))
+                                       {
+                                               $url = $m[2];
+                                       }
                                        else
                                        {
                                                $url = strlen($m[2]) && 
$m[2]{0} == '#' ? $m[2] : $GLOBALS['phpgw']->safe_redirect(urldecode($m[2]));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]