Jarrod Bell
CommandFusion
www.commandfusion.com
Hi.
When trying to assign uri with percent encoded character iViewer encodes % character as %25 except cases with %20 and %25 of course.
Here you can see debugger screenshot:
Tried with iViewer 4 and iViewer 5 has the same behavior.
decodeURIComponent doesn't work in my case, you may try to replace %2F in link to screenshot
Will appreciate any advice
--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I do not think that iViewer is doing that. If it was there would be an awfully lot of images that would fail to load as the ASCII code for the % (37 base 10, 25 base 16) has a high probability of appearing in a binary file such as an image file.
I looked at your gui and it seems you are trying to directly load an image from a web site into an image box in the startup page. using https. The CF wiki clearly states that the image may come from an http site, but makes no mention of https.
I am not sure you can do that. I never do, I have all my images in a resource file that the gui loads. I dynamically load images but always from a resource folder which is set up is to hold the images.
I do not see a theme in your gui where one normally defines the image path to be used. If you hand built the gui as a text file, that would explain a lot. I tried using the https path you have as the image reference and I get a 403 error which is the web server saying "NO! (forbidden)
Jarrod Bell
CommandFusion
www.commandfusion.com
{
"error": {
"code": 400,
"message": "Invalid HTTP method/URL pair."
}
}
Jarrod Bell
CommandFusion
www.commandfusion.com