Plugin writes “& #038;” instead of “&” in API URL – key won’t be recognised
-
After wondering why the Google Maps Javascript API keeps complaining about an unauthorised webpage, I realised the plugin writes
https://maps.google.com/maps/api/js?v=3.24& #038;key=*****************
(the blank between & and # is on purpose for displaying here – there’s no blank in the page’s code) instead ofhttps://maps.google.com/maps/api/js?v=3.24&key=*****************
into the page’s source code.
When opening both versions directly in a browser it turns out the API isn’t accepting the decimal encoded ampersand and thus the key isn’t recognised at all.Does anyone else experience this behaviour?
And when did it start? The plugin used to work like a charm (my fault I didn’t test the directions functionality but only the widget’s appearance itself after the last x updates – who knows for how long this hasn’t been working. The client never complained about it.).Cheers
- The topic ‘Plugin writes “& #038;” instead of “&” in API URL – key won’t be recognised’ is closed to new replies.