This object is in archive! 
Locus Actions: cyrillic letters
Solved
https://files.melda.ru/hidden/locus-actions/
Link №1 "Error cyrillic letters".
In web server logs:
1) GET /hidden/locus-actions/%D1%8D%D1%8E%D1%8F.xml
2) GET /hidden/locus-actions/???.zip
Firs request is ok, but second must be "эюя.zip", not "???.zip"
May you check latest requests? You should see correct requests from Locus.
Anyway downloaded file is not a valid zip file, right?
If this is correct, then issue is fixed. Thank you
May you check latest requests? You should see correct requests from Locus.
Anyway downloaded file is not a valid zip file, right?
If this is correct, then issue is fixed. Thank you
Apache log:
Hm. Request is still "???.zip".
Code - 200, size - 421.
This is index file of this serder directory - same as https://files.melda.ru/hidden/locus-actions/
So, it's look like, Locus really do request with question sign. In this way, server parse request as:
url: https://files.melda.ru/hidden/locus-actions/???.zip
scheme: https
server: files.melda.ru
path: /hidden/locus-actions/
divider between path and query string: ?
query string: ??.zip
Real file name is "эюя.zip". Size - 15396. It's real zip archive.
And needed request to server must be encoded in uriencode.
Not https://files.melda.ru/hidden/locus-actions/эюя.zip
But https://files.melda.ru/hidden/locus-actions/hidden/locus-actions/%D1%8D%D1%8E%D1%8F.zip
Now, I added new link "Сyrillic letters - uriencode in xml" to https://files.melda.ru/hidden/locus-actions/
It links to эюя2.xml, that contains "%D1%8D%D1%8E%D1%8F.zip" in source field, but not "эюя.zip". And this link really works.
So, we need decision: who must do uriencode of source field - Locus or xml author?
Apache log:
Hm. Request is still "???.zip".
Code - 200, size - 421.
This is index file of this serder directory - same as https://files.melda.ru/hidden/locus-actions/
So, it's look like, Locus really do request with question sign. In this way, server parse request as:
url: https://files.melda.ru/hidden/locus-actions/???.zip
scheme: https
server: files.melda.ru
path: /hidden/locus-actions/
divider between path and query string: ?
query string: ??.zip
Real file name is "эюя.zip". Size - 15396. It's real zip archive.
And needed request to server must be encoded in uriencode.
Not https://files.melda.ru/hidden/locus-actions/эюя.zip
But https://files.melda.ru/hidden/locus-actions/hidden/locus-actions/%D1%8D%D1%8E%D1%8F.zip
Now, I added new link "Сyrillic letters - uriencode in xml" to https://files.melda.ru/hidden/locus-actions/
It links to эюя2.xml, that contains "%D1%8D%D1%8E%D1%8F.zip" in source field, but not "эюя.zip". And this link really works.
So, we need decision: who must do uriencode of source field - Locus or xml author?
Hmm this will be more complicated.
Url you provide in XML is of course correct and it's on Locus to encode it to proper format. Unfortunately I have some serious problems with doing this and because I don't want to break some already existing code, do encoding, for now, on your side. Thanks you.
Hmm this will be more complicated.
Url you provide in XML is of course correct and it's on Locus to encode it to proper format. Unfortunately I have some serious problems with doing this and because I don't want to break some already existing code, do encoding, for now, on your side. Thanks you.
I think, it will be good to add info about this (that url in xml must be uriencoded) to wiki: http://docs.locusmap.eu/doku.php?id=manual:customization:locus_actions
I can't do it - "This page is read only."
I think, it will be good to add info about this (that url in xml must be uriencoded) to wiki: http://docs.locusmap.eu/doku.php?id=manual:customization:locus_actions
I can't do it - "This page is read only."
Hello Evgeny,
as a side effect of one major change in the app, an issue should be (finally) solved.
Menion
Hello Evgeny,
as a side effect of one major change in the app, an issue should be (finally) solved.
Menion
Yes, it really works! Thanks!
(now, as earlier, waiting for http://help.locusmap.eu/topic/external-bluetooth-controller-more-commands - Ceterum censeo Carthaginem delendam esse! Sorry :)
Yes, it really works! Thanks!
(now, as earlier, waiting for http://help.locusmap.eu/topic/external-bluetooth-controller-more-commands - Ceterum censeo Carthaginem delendam esse! Sorry :)
Replies have been locked on this page!