Jump to content

Can CallbackUrlEx return HTTPS url?


tomward

Recommended Posts

Running latest version of unigui on hyperserver and app is using https:  address.

When I use CallBackUrlEx function it returns an http address - I then redirect to a banking form which then passes control back via this url, but get a 'Mixed Content' / 'was loaded over HTTPS, but requested an insecure frame' / 'This request has been blocked; the content must be served over HTTPS.' message and control never returns.

Have tried manually inserting an 's' into the url but then the callback doesn't get called at all.

Anyone have any ideas?

Many thanks in advance if you do!

 

Link to comment
Share on other sites

So have found that it is only a problem when using hyperserver

Minimal test case:

1) Load unigui example 'HTTP Post Callback - URL Frame - Auto Target'

2) If compiled as isapi dll and run from https:// address, urls generated will have https:// on them (verify by inspecting the form before callbacks called)

3) If compiled as exe and run from hyperserver on https:// address, urls generated will have http://  on them

 

Link to comment
Share on other sites

Just in case this is helpful for anyone else ...

Looks like this was a bug in hyperserver which has since been fixed

I had upgraded unigui framework but neglected to upgrade the hyperserver dl file to the latest one

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...