{ Dev Farm }

Web & Windows Development

Download not working anymore with Chrome

Home Forum Wp Gpx Maps Support Download not working anymore with Chrome

  • This topic has 0 risposte, 1 partecipante, and was last updated 5 months, 1 week fa by Boneshaker.
Stai vedendo 1 articolo (di 1 totali)
  • Autore
    Articoli
  • #85860 Reply
    Boneshaker
    Ospite

    Hi,

    I’ve been using this great plugin for about a year and lately one user of my website noticed that you were not able to dwonaload GPX files with Chrome (still working fine with Firefox.
    It seems to be related to cross-site download (see https://stackoverflow.com/questions/49474775/chrome-65-blocks-cross-origin-a-download-client-side-workaround-to-force-down).
    Even if the GPX files are on the same site, as wp-gpx-map use a full URL instead of a relative path, chrome consider it as external.
    I’v fixed it by removing:

    // wpml fix
    $dummy = ( defined('WP_SITEURL') ) ? WP_SITEURL : get_bloginfo('url');
    $gpxurl = $dummy.$gpxurl;

    in wp-gpx-maps.php.

Stai vedendo 1 articolo (di 1 totali)
Rispondi a: Download not working anymore with Chrome

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




:bye:  :good:  :negative:  :scratch:  :wacko:  :yahoo:  B-) 
more...
 

Non è possibile lasciare nuovi commenti.