Welcome Guest Search | Active Topics | Sign In | Register

Spaces in URL - The Page Failed to Load With Custom ResourceHandler Options
JK
Posted: Monday, November 16, 2015 10:49:21 AM
Rank: Advanced Member
Groups: Member

Joined: 7/20/2015
Posts: 52
I've registered the custom scheme "string" and I'm using a custom ResourceHandler to handle resources prefixed with "string://" so that I can display simple messages in the browser without having to load a file.

When attempting to set the URL to something like "string://Hello" it works fine; it enters my resource handler and displays "Hello".

But as soon as I introduce spaces to the URL (plain spaces, encoded as + or %20, as part of a querystring parameter or at the front of the uri) I get "The Page Failed to Load..." and it never gets into my custom ResourceHandler.

Some examples that don't work:
string://Hello World
string://Hello+World
string://Hello%20World
string:x?x=Hello World
string:x?x=Hello+World
string:x?x=Hello%20World
JK
Posted: Monday, November 16, 2015 11:53:16 AM
Rank: Advanced Member
Groups: Member

Joined: 7/20/2015
Posts: 52
Well it seems to be working now that I've defined a handler for WebView.LoadFailed so I'm good for now. But this is really odd.
eo_support
Posted: Tuesday, November 17, 2015 11:19:13 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This seems to be a timing issue. We were able to reproduce it a few times but not consistently. We will continue to investigate and post again if we find anything.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.