Problem with Safari, javascript error

1
0
-1

Hello,

I'm dealing with a problem when I run my process on Safari Browser Version 6.1.4. I have this kind of error when I go on Bonita Portal : Refused to load the script 'http://d.txtsrving.info/?c=Q0g6OjoxNDk5OjM4MzU4MjowOmE2NTJj&cachebreak=1...' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback. Refused to evaluate script because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.

With Chrome it works perfectly. What I have to do ? Thank you for your answers,

Pauline

1 answer

1
0
-1

Hi,

first of all, we do not test for safari so I'm not surprise you have difficulties with it. I would stick with an alternative if you want to use the Portal (IE, Chrome & Firefox are supported).

By looking at your error though. It doesn't seems that the script being loaded is coming from the Portal. That's why you get a Content Security Policy error. Could it be a plugin or an external script running from your browser?

Check out this link for more information about content security policy. http://www.html5rocks.com/en/tutorials/security/content-security-policy/

Vincent

Comments

Submitted by pauline.boukhaled on Fri, 06/06/2014 - 15:41

Hi Vincent,

Yes I thought it was about the Content Security Policy. I want to use Bonita for an application mobile for iOS. That's why I used Safari for test the mobile version at first… but The mobile version of Bonita is not supported by iOS yet no? I try it and everything works expect the display of the forms… still because of Content Security Policy I guess, because for Android, It works perfectly...

Submitted by duy.tranquang on Fri, 06/06/2014 - 17:39

Hi

please let us know the configuation you are using. (platform, OS, borwser). thx

Submitted by ttoine on Thu, 06/12/2014 - 11:02

Are you loading the JS from another website than the Portal ? If yes, you should include it in the resources of your process !

Submitted by pauline.boukhaled on Thu, 06/12/2014 - 11:19

No No, I just run Bonita from Bonita Studio. Still have the problem with Safari...

Notifications