Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor hupe13

    (@hupe13)

    Please open the developer console of your browser and go to the network tab, where all loaded and unloaded files can be seen. Search the gpx file. Is the URL valid?
    Click on the gpx url and look to the header lines. What content-type is shown?
    It must be “application/gpx+xml”. If not, write in your .htaccess

    AddType application/gpx+xml gpx
    RewriteRule .*\.gpx$ - [L,T=application/gpx+xml]

    Or write a mail to the support of blabla.com.

    Thread Starter martinsplinter

    (@martinsplinter)

    Oh i am sorry hahaha smth weird happened
    While posting the url the oposite happened ….
    in the url i posted
    [leaflet-gpx src=https://blabla.com/api/routing/1/plan.gpx?key=keyhere&language=nl&challenging=1

    The "&" piece gets replaced by "&amp" and while pasting it here, the change was reverted )) realy funny as you could not see what i meant.

    I got the contructed url out of the developer console, the url i presented is now aith the “& code in it.
    The file does not get downloaden because the api does not seem to work with the ampersand. It expects value=x&value=y and not value=x

    i editerd a couple of times, as tbhis website also changes the input i am giving.

    so the dollar sign gets replaced by a dollar sign followd by text amp; and then again amp; (i hope this stays vi\sible)

    • This reply was modified 3 years, 9 months ago by martinsplinter.
    • This reply was modified 3 years, 9 months ago by martinsplinter. Reason: formatting bget screwed up
    Plugin Contributor hupe13

    (@hupe13)

    @bozdoz, can you fix the handling of query strings please?

    Thread Starter martinsplinter

    (@martinsplinter)

    U guys rock!! I never seen such support before. I installed the update, works like a charm!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ampersand’ is closed to new replies.