You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I several times faced with problem when try to export track and always downloading file with name like - 40km.gpx. I see an warning about filename sanitization regex, but also I know about there some problems with Cyrillic in RegEx due to use a lot of unicode range.
Also I find the line that this regex must be in sync with server one.
thanks for your report. The way filenames are handled has changed recently, see 7aa2fcb (change not deployed to production yet, though). We now rely on the browser to remove restricted characters from the filename, which should finally allow sensible filenames beyond ASCII again, not only for Cyrillic.
I got a chance to perform some tests with an Edge 810 last week, will add more comments later. Feel free to test with your devices/apps too, in particular of interest would be:
Which device/app are you using?
Use trackname with unicode characters you'd like to use: Does it crash your device/app when importing the GPX? Is everything displayed correctly?
Rename file to use unicode characters in filename: Can you copy the file from where you saved it to the target device? Is it listed there? Does it crash when importing?
I just got feedback from my «bicycle» friends, they using a lot of garmin, wahoo, lezyne and bryton. And only Bryton has issues with special/cyrillic characters in filename.
As for me, I'm using Lezyne with official mobile app and no any issues with cyrillic wasn't found.
Hello everyone,
I several times faced with problem when try to export track and always downloading file with name like
- 40km.gpx
. I see an warning about filename sanitization regex, but also I know about there some problems with Cyrillic in RegEx due to use a lot of unicode range.Also I find the line that this regex must be in sync with server one.
brouter-web/config.template.js
Lines 128 to 129 in 5c70e30
So what is the best way to resolve this issue?
Can we just add some unicode space in regex, ex.: https://regexr.com/5s97r
The text was updated successfully, but these errors were encountered: