From 9431cd359d240b907f738a5016bdf08d5e557d87 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Frank=20J=2E=20G=C3=B3mez?= Date: Mon, 28 Apr 2014 20:57:32 -0700 Subject: [PATCH] CRM-14283 - Removed URL validation for premium images since we now use local URLs (i.e., no domain). ---------------------------------------- * CRM-14283: Premium image upload button => http-only URL for images => Firefox insecure page warning https://issues.civicrm.org/jira/browse/CRM-14283 --- CRM/Contribute/Form/ManagePremiums.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CRM/Contribute/Form/ManagePremiums.php b/CRM/Contribute/Form/ManagePremiums.php index b2c4cdcb39..0275bc637d 100644 --- a/CRM/Contribute/Form/ManagePremiums.php +++ b/CRM/Contribute/Form/ManagePremiums.php @@ -142,9 +142,7 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { $this->addRule('imageOption', ts('Please select an option for the premium image.'), 'required'); $this->addElement('text', 'imageUrl', ts('Image URL')); - $this->addRule('imageUrl', 'Please enter the valid URL to display this image.', 'url'); $this->addElement('text', 'thumbnailUrl', ts('Thumbnail URL')); - $this->addRule('thumbnailUrl', 'Please enter the valid URL to display a thumbnail of this image.', 'url'); $this->add('file', 'uploadFile', ts('Image File Name'), 'onChange="select_option();"'); -- 2.25.1