Menu

#3872 (ok 4.0.0-rc2) CSP blocks map tiles in GIS data visualization

4.0.0
fixed
CSP (2)
1
2013-06-11
2013-04-13
No

Steps to reproduce:
Go to opengis.world_cities table in the demo site
Click 'Visualize GIS data' from query results section
Tick 'Use OpenStreetMaps as base layer'

Map tiles are not loaded due to the CSP directive. CSP related errors can be seen on the console.

Discussion

  • Marc Delisle

    Marc Delisle - 2013-04-14

    Madhura,
    with FF 20.0.1 and QA_4_0 branch, I cannot reproduce this problem (either on the demo server or mine). It's true that I see CSP errors on the console when viewing the demo server, but these are due to demo-server issues like calling piwik.js.
    Which browser are you using, and which branch on the demo server?

     
  • Madhura Jayaratne

    Do you see the OpenStreetMap tiles loaded as the base layer for the data points?

    With Chrome 26.0.1410.64, tiles do not get loaded and I see the CSP errors on console for both QA_4_0 (tested locally) and master (tested at demo.phpmyadmin.net/master-config/; see the attached screenshot)

    With FF 19.0.2, tiles do not get loaded while I do not see the CSP errors on console for both QA_4_0 and master.

     
  • Marc Delisle

    Marc Delisle - 2013-04-14

    Madhura,I see what you mean now. I'll test under https and report to you.

     
  • Marc Delisle

    Marc Delisle - 2013-04-14

    Madhura,
    Testing pull request 247 on a server supporting both http and https, I try with http and see the tiles (all continents and country names). Then I switch to https and no longer see the tiles, is this expected?

     
  • Marc Delisle

    Marc Delisle - 2013-04-14
    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: CSP blocks map tiles in GIS data visualization --> (ok 4.0.0-rc2) CSP blocks map tiles in GIS data visualization
    • status: open --> open-fixed
    • Priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2013-05-03
    • Status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed