From 14c1c505e0b5915ff85f0698afc209f530fd83fb Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 1 Nov 2009 23:02:13 +0000 Subject: #607008 by dww, Gerhard Killesreiter, JacobSingh, and chx: Changed Fix bugs in https support and use https for authorize.php if available. --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/form.inc') diff --git a/includes/form.inc b/includes/form.inc index 0de410ea5..062fc089e 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1017,7 +1017,7 @@ function form_builder($form_id, $element, &$form_state) { // Special handling if we're on the top level form element. if (isset($element['#type']) && $element['#type'] == 'form') { if (!empty($element['#https']) && variable_get('https', FALSE) && - !menu_path_is_external($element['#action'])) { + !url_is_external($element['#action'])) { global $base_root; // Not an external URL so ensure that it is secure. -- cgit v1.2.3