From 8a94973852041753c15bc51eca182ef310feeef7 Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Tue, 7 May 2013 19:38:52 +0200 Subject: [PATCH] Removing external resources --- h5p.classes.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index 43a70fc..7e372f6 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -210,13 +210,6 @@ class H5PValidator { 'majorVersion' => '/^[0-9]{1,5}$/', 'minorVersion' => '/^[0-9]{1,5}$/', ), - 'externalResources' => array( - 'machineName' => '/^[\w0-9\-\.]{1,255}$/i', - 'majorVersion' => '/^[0-9]{1,5}$/', - 'minorVersion' => '/^[0-9]{1,5}$/', - 'url' => '/^http:\/\/[a-z_\-\.0-9]+\.[a-z]{2, 10}$/i', - 'type' => '/^(css|js)$/', - ), 'w' => '/^[0-9]{1,4}$/', 'h' => '/^[0-9]{1,4}$/', 'metaKeywords' => '/^.{1,}$/', @@ -252,13 +245,6 @@ class H5PValidator { 'majorVersion' => '/^[0-9]{1,5}$/', 'minorVersion' => '/^[0-9]{1,5}$/', ), - 'externalResources' => array( - 'machineName' => '/^[\w0-9\-\.]{1,255}$/i', - 'majorVersion' => '/^[0-9]{1,5}$/', - 'minorVersion' => '/^[0-9]{1,5}$/', - 'url' => '/^http:\/\/[a-z_\-\.0-9]+\.[a-z]{2, 10}$/i', - 'type' => '/^(css|js)$/', - ), 'preloadedJs' => array( 'path' => '/^((\\\|\/)?[a-z_\-\s0-9\.]+)+\.js$/i', ),