+ECplus3 Posted June 20, 2018 Share Posted June 20, 2018 Hi there, When viewing my statistics page on the maps tab I noticed that the flag for the province of Québec wasn't showing up. I took a quick look at the source and it appears that the page code simply takes the province name and uses it to reference the .png file in the /images directory. However, Québec has an accent on the first 'e', which is not allowed in a URL. The code needs to be modified to scrub out accents before using them in a url. Cheers, Chuck Quote Link to comment
SnowstormMK Posted June 20, 2018 Share Posted June 20, 2018 Hey there. We are already looking into fixing this, thank you for pointing it out 1 Quote Link to comment
+NYPaddleCacher Posted June 22, 2018 Share Posted June 22, 2018 On 6/20/2018 at 6:04 PM, E&Cplus3 said: Hi there, When viewing my statistics page on the maps tab I noticed that the flag for the province of Québec wasn't showing up. I took a quick look at the source and it appears that the page code simply takes the province name and uses it to reference the .png file in the /images directory. However, Québec has an accent on the first 'e', which is not allowed in a URL. The code needs to be modified to scrub out accents before using them in a url. Cheers, Chuck Ideally, It shouldn't use the place name at all, but use the country ID/State ID (and integer) for each location and name the png files accordingly. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.