From 80258d7f914860c79db4ca09bef2042a24ae82a8 Mon Sep 17 00:00:00 2001 From: Pol Dell'Aiera Date: Sun, 19 Aug 2012 19:44:10 +0200 Subject: [PATCH] Issue #1694048: JS file URL (openlayers_source) should respect RFC 1808 Section 4 --- .../openlayers_ui/includes/openlayers_ui.admin.inc | 6 ++++-- openlayers.module | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/openlayers_ui/includes/openlayers_ui.admin.inc b/modules/openlayers_ui/includes/openlayers_ui.admin.inc index eca84f3..74a752d 100644 --- a/modules/openlayers_ui/includes/openlayers_ui.admin.inc +++ b/modules/openlayers_ui/includes/openlayers_ui.admin.inc @@ -19,7 +19,9 @@ function openlayers_ui_admin_settings() { OpenLayers library at %ol_api_url.

For better performance and reliability, you should download the OpenLayers library, and add it to your Drupal installation. For instance, - you could use a Drupal relative path like: %suggested_path.

+ you could use a Drupal relative path like: %suggested_path. You can also use a double backslash + before the domain name (eg. //www.example.com/OpenLayers.js) which + then respects the use of both HTTPS and HTTP protocols.