Jump to content

Internet Browser with application unigui closes if is opened in email


FFREDIANELLI

Recommended Posts

Hi guys, please some help.

I created a link in email with the application unigui and passing parameters, if i click in the link in outlook, our gmail, etc... the page open and close imediately.

If i copy the link and paste in browser it open and work perfectly...

so... may be because i'm not using ssl ? do I have to buy a certificate ?

Link to comment
Share on other sites

1 hour ago, Sherzod said:

Hello, 

Your case is not very clear.

Hi Sherzod, 

problably by my english.  My application create an email , in the body of the email , the application create a hyperlink, to my site with an unigui application. In the link i have parameters (crypted) to explain what to the application. 

The guy that receive the email click on hyperlink and the site open, for some milliseconts ( i can see the gif of unigui running...) but closes. If the guy copy the hyperlink to the browser, it open and do the expected things... I do not know if is the site that do not have ssl certificate, because if i put in the same application a link to a commercial site... it open.

 

Link to comment
Share on other sites

10 hours ago, FFREDIANELLI said:

Hi Sherzod, 

problably by my english.  My application create an email , in the body of the email , the application create a hyperlink, to my site with an unigui application. In the link i have parameters (crypted) to explain what to the application. 

The guy that receive the email click on hyperlink and the site open, for some milliseconts ( i can see the gif of unigui running...) but closes. If the guy copy the hyperlink to the browser, it open and do the expected things... I do not know if is the site that do not have ssl certificate, because if i put in the same application a link to a commercial site... it open.

 

Could be the Antivirus software ?

Link to comment
Share on other sites

On 7/13/2022 at 10:58 AM, Wilton Ergon said:

no html ao gerar, o link, coloque o parametro para que o link abra em uma nova aba do novegador,

ex

<a href="https://www.WordPress.com" target="_blank">WordPress Homepage</a>

Obrigado Wilton, mas não teve efeito, testei de todas as formas com o mesmo link que uso em outro aplicativo e nao vai, começo a desconfiar do hyperserver, que no outro aplicativo não utilizo.

Thank Wilton , no positive effect, tested in all forms , I'm starting to think that may be or ssl that i do not have in this server or hyperserver that i'm using in this server.

Link to comment
Share on other sites

38 minutes ago, FFREDIANELLI said:

Obrigado Wilton, mas não teve efeito, testei de todas as formas com o mesmo link que uso em outro aplicativo e nao vai, começo a desconfiar do hyperserver, que no outro aplicativo não utilizo.

Thank Wilton , no positive effect, tested in all forms , I'm starting to think that may be or ssl that i do not have in this server or hyperserver that i'm using in this server.

Hello, what response (security) headers You use, this may be a reason of problem !

Link to comment
Share on other sites

5 hours ago, irigsoft said:

Hello, what response (security) headers You use, this may be a reason of problem !

Thants irigsoft , but if i don't know where to create this security headers, problably i do not created it... 😑 , struggling to solve the problem i created the email link to point to my local computer and this message error  is show in a white page, but at list i can see something... Access denied: with the name of my unigui application.

some other idea ?

 

image.thumb.png.28c0ddd455840e3b79f1daa2de2c5eb6.png

Link to comment
Share on other sites

10 minutes ago, irigsoft said:

1. add exit; on UniGUIServerModuleHTTPCommand after begin of procedure and try again.

2. try with StandAloneApp.exe (did You have error message) 

1. I do not have UniGUIServerModuleHTTPCommand in my uniguiservermmodule.

2. this message Access denied i can see only in my standalone local execution, if i run in hyperserver in the server , it only closes the windows.

Link to comment
Share on other sites

3 minutes ago, FFREDIANELLI said:

1. I do not have UniGUIServerModuleHTTPCommand in my uniguiservermmodule.

2. this message Access denied i can see only in my standalone local execution, if i run in hyperserver in the server , it only closes the windows.

ok,

1. try to Start As Administrator 

2. Set Rights of directory for Everyone fullControl

Do you have an "Access Denied" message (string) somewhere in the code

Link to comment
Share on other sites

14 minutes ago, FFREDIANELLI said:

2. this message Access denied i can see only in my standalone local execution, if i run in hyperserver in the server , it only closes the windows.

what is your start url, is it different from the email url?

if so then try adding some headers in UniGUIServerModuleHTTPCommand as:

//send the request origin, path, and string when executing a request with the same origin.
AResponseInfo.CustomHeaders.AddValue('Referrer-Policy', 'strict-origin-when-cross-origin');
 

another possible reason is that your url starts with https and you redirect to http (if you don't have headers for this then google may block you)
, also check if it is set that way
uniServerModule.Options.soAutoRedirectHttps = False;

and to end all suggestions,

try to create a test case with a single button that opens a link in a new window (and tell me if it works?)

Link to comment
Share on other sites

10 minutes ago, irigsoft said:

what is you starting URL, is it different from email url ?

if so then tray to add some headers in UniGUIServerModuleHTTPCommand 

like:

//send the origin, path, and querystring when performing a same-origin request.
  AResponseInfo.CustomHeaders.AddValue('Referrer-Policy', 'strict-origin-when-cross-origin');
 

other possible reason is Your URL starts with https and You redirect to http, (If you dont have headers for that then google can blocked You)

uniServerModule.Options.soAutoRedirectHttps = False;

and end of all,

try to create test case with one button that open link in new window (and tell me is it work?)

Searching in the folder there is only one ocurrence of the Denied Acess , I think that only who has access to the unigui sources can say where it is used...

uIdResourceStrings_RSStackEACCES,    L"Access denied."

 

Link to comment
Share on other sites

Just now, FFREDIANELLI said:

Searching in the folder there is only one ocurrence of the Denied Acess , I think that only who has access to the unigui sources can say where it is used...

uIdResourceStrings_RSStackEACCES,    L"Access denied."

 

Simple check: change message in code and try, after that unigui team maybe can tell what going on

Link to comment
Share on other sites

12 minutes ago, irigsoft said:

Simple check: change message in code and try, after that unigui team maybe can tell what going on

but where change this... the error is triggered before the first command of the oncreate of the mainform... 

Link to comment
Share on other sites

3 minutes ago, irigsoft said:

Do You use WhiteIPList?, if so then You must populate Your  IP on it!

not in this application, and see that, if I copy and paste the hyperlink in the browser directly the program works !!! so, is something that the unigui see that the application came from another source (email in html) and nnot form the adress bar of the browser.

 

Link to comment
Share on other sites

1 minute ago, FFREDIANELLI said:

not in this application, and see that, if I copy and paste the hyperlink in the browser directly the program works !!! so, is something that the unigui see that the application came from another source (email in html) and nnot form the adress bar of the browser.

 

try to create a test case with a single button that opens a link in a new window (and tell me if it works?)

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...