View Issue Details
qanda.php about line 4819 changed (the openlayers link fails if made secure) but this did not resolve the issue. This is also discussed at http://code.google.com/apis/maps/faq.html#ssl but I'm not sure which API is being used here: |
|
I don't think there is a way to solve this. As the Google maps FAQ says as long as you are not Premier Maps customer the SSL website will warn about non-safe content. |
|
At the link I provided it says (markup mine):Can the Google Maps APIs be accessed over SSL (HTTPS)? The Google Maps JavaScript API V3, Google Static Maps API, and Google Maps API Web Services can be accessed over secure (HTTPS) connections by developers using <<<either the free version>>> of these APIs or Google Maps API Premier. Please see the documentation for the API concerned for information on how to access the API over SSL. Are you using API V3? If not, can you? If you can't can you provide a setting to disable the Google Maps API when a LS is being hosted on a HTTPS connection? The site also says that V2 API has been deprecated: http://code.google.com/apis/maps/documentation/javascript/ Here is the direct link to the new API for use in applications such as LS: http://code.google.com/apis/maps/documentation/javascript/basics.html#HTTPS |
|
Accessing the API over SSL will not remove the warning, because it is a different SSL server. That's why you need the Premier Maps API which masks the acccess. The key sentences is 'If these Maps APIs are used with a free Maps API key on a secure site, the browser may warn the user about non-secure objects on the screen. ' So you do need a Premier MAPs API key, which costs money and/or is part of the business package. |
|
With respect, I think you are mixing a different security issue with the one I mentioned. In my case, users are being asked if they want to load insecure content with secure content. This is well documented to be related to scripts calling HTTP links while from a HTTPS page. I confirmed this behavior. The API call to the HTTP://maps.google.com.... link is causing this major security warning. Google describes how this has been resolved in API3 (http://code.google.com/apis/maps/documentation/javascript/basics.html#HTTPS). I tested this by changing qanda.php and template.js to the format described in that link. That was successful in eliminating the security warning but also broke the maps. The survey_runtime.js mapping code is not for API3 so won't work without modification. API2 has been deprecated by Google and does not support HTTPS functionality but API3 does. I was successful in eliminating the security warning but also in breaking maps. |
|
Tony, would you be interested in working this? It is very JS heavy ;). |
|
I can look into it but it will be several weeks. I have several large projects on the go and vacation coming (I hope). |
|
Ok, guess there is no hurry. |
|
Carsten, I don't think we can fix this without moving to Google Maps API V3. Do you want to go there? |
|
Sure. Depends more on you, if you like to do it ;)? |
|
Otherwise we can make a GCI task of it. |
|
I'll look into it. I may ask for some help with the HTTPS switch. |
|
I have moved the maps to API V3 (and fixed some other small bugs). In quanda.php (around line 4841), I added a switch for the API URL when using HTTPS. Carsten, could you please check that new code before I close the bug? |
|
I've modified my code in quanda.php - it was throwing an error. |
|
Carsten, could you please check the fix in quanda.php? Thanks. |
|
Looks great. Thank you very much! |
|
LimeSurvey: Yii 0841640d 2011-08-12 10:04 Details Diff |
Fixed issue 05189: IE Non-Secure Warnings on HTTPS survey Dev Moved to Google Maps API V3 Added switch for API link when using HTTPS Dev Add map reset function - called when map question shown by conditions git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10708 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05189 |
|
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/libraries/Group_format.php | Diff File | ||
mod - application/libraries/Survey_format.php | Diff File | ||
mod - scripts/survey_runtime.js | Diff File | ||
LimeSurvey: Yii e597d04b 2011-08-15 06:22 Details Diff |
Fixed issue 05189: IE Non-Secure Warnings on HTTPS survey Dev Fix switch for API link when using HTTPS git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10733 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05189 |
|
mod - application/helpers/qanda_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-05-21 06:44 | medicnick | New Issue | |
2011-05-21 06:57 | medicnick | Note Added: 15083 | |
2011-05-21 23:19 | c_schmitz | Note Added: 15084 | |
2011-05-21 23:20 | c_schmitz | Assigned To | => c_schmitz |
2011-05-21 23:20 | c_schmitz | Status | new => feedback |
2011-05-22 06:18 | medicnick | Note Added: 15085 | |
2011-05-22 06:18 | medicnick | Status | feedback => assigned |
2011-05-22 06:21 | medicnick | Note Edited: 15085 | |
2011-05-22 09:38 | c_schmitz | Note Added: 15086 | |
2011-05-23 05:03 | medicnick | Note Added: 15089 | |
2011-05-29 08:27 | c_schmitz | Status | assigned => acknowledged |
2011-07-21 17:47 | c_schmitz | Issue Monitored: tpartner | |
2011-07-21 17:48 | c_schmitz | Note Added: 15815 | |
2011-07-22 00:55 | tpartner | Note Added: 15823 | |
2011-07-22 15:34 | c_schmitz | Note Added: 15829 | |
2011-07-22 16:26 | c_schmitz | Assigned To | c_schmitz => tpartner |
2011-07-22 16:26 | c_schmitz | Status | acknowledged => assigned |
2011-08-10 21:00 | tpartner | Note Added: 16011 | |
2011-08-11 09:04 | c_schmitz | Note Added: 16015 | |
2011-08-11 18:33 | c_schmitz | Note Added: 16028 | |
2011-08-11 18:45 | tpartner | Note Added: 16031 | |
2011-08-12 17:14 | tpartner | Note Added: 16050 | |
2011-08-12 17:14 | tpartner | Status | assigned => feedback |
2011-08-15 13:23 | tpartner | Note Added: 16058 | |
2011-09-11 13:20 | tpartner | Note Added: 16264 | |
2011-09-11 13:20 | tpartner | Assigned To | tpartner => c_schmitz |
2011-09-11 13:20 | tpartner | Status | feedback => assigned |
2011-10-18 17:31 | c_schmitz | Assigned To | c_schmitz => tpartner |
2011-10-18 17:32 | c_schmitz | Note Added: 16443 | |
2011-10-18 17:32 | c_schmitz | Status | assigned => resolved |
2011-10-18 17:32 | c_schmitz | Fixed in Version | => 1.91+ |
2011-10-18 17:32 | c_schmitz | Resolution | open => fixed |
2011-10-18 17:32 | c_schmitz | Status | resolved => closed |
2012-03-14 21:08 | tpartner | Changeset attached | => Import 2012-03-09 13:30:34 Yii e597d04b |
2012-03-14 21:08 | tpartner | Changeset attached | => Import 2012-03-09 13:30:34 Yii 0841640d |
2021-08-03 03:33 | guest | Bug heat | 6 => 8 |