mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°4899 - add sanitizer url since annotation and tests for sanitizer function
This commit is contained in:
@@ -359,6 +359,7 @@ class utils
|
||||
break;
|
||||
|
||||
// For URL
|
||||
/* @since 2.7.7, 3.0.2, 3.1.0 N°4899 */
|
||||
case 'url':
|
||||
$retValue = filter_var($value, FILTER_SANITIZE_URL);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user