We have a problem with some devices in GenieACS : the ID created by the ACS contains URL encoded characters because the Product class and serial number used contains special characters ("." and “-”).
We cannot find the ID when we are using the API since there is already URL encoded characters in the name.
Is there a way to fix this problem when creating the ID for the devices (decode the special characters ?
Why is the ID encoded at all ? Just for navigating in the UI (the Device-URL is built from the ID) ? Wouldn’t it be better to encode/decode the ID in the UI only ?
@zaidka : Is there a reason why only alphanumerics and underscores are excluded from escaping ? Is it possible to add more characters, like the dot or the hyphen ?
I think this is because, genieacs uses - to separate between OUI-Product Class-Serial number.
So this is a very simple solution to make sure, that no - is in the wrong position. For using that parameter in other software, especially within URLs, is a bit more complicated to program.
I am currently encoding the whole ID-String in Base64 within my API’s to make my life easy.
I am using AVM FRITZ!Box Devices, which is also encoded funny, because of the ! inside the Product Class.