Geocaching query`s name bug

Kristaps Kravalis shared this problem 7 years ago
Solved

When the name of query contains " / " it`s not possible to import. I get an error message. When i change name without / it works like a charm.

Comments (4)

photo
1

may you please provide me some more information and also some sample file that I should use for test? Because I`m not sure if I understand!


EDIT: you mean name of file you try to import? I`m not sure if this is allowed at all

photo
1

Problem is in name of pocket query which i create in geocaching webpage. It`s allowed to use / etc. Using Locus geocaching live feature at importing that query i get error. (Return Code: 0, Message: Null)


Hope you understand now. Maybe someone else could test this.

photo
1

thanks for report. Problem fixed

photo
0

problem in storing file on card (invalid filename). Best solution using REGEX pattern to validate filename String String newFileName = fileName.replaceAll("[/:*?"<>|]","");