GithubHelp home page GithubHelp logo

CSP error about audios HOT 8 OPEN

szepeviktor avatar szepeviktor commented on August 12, 2024
CSP error

from audios.

Comments (8)

libasys avatar libasys commented on August 12, 2024

Please add some more info on your environment and your operating system on your PC!
Thanks

from audios.

szepeviktor avatar szepeviktor commented on August 12, 2024

Windows Prof. 7 64 bit
Google Chrome 44

I Think the violated img-src 'self' is in ownCloud.

from audios.

libasys avatar libasys commented on August 12, 2024

I think it could be a problem with win7 and chrome, cause i added this line on the pagecontroller to prevent such a behaviour!
https://github.com/libasys/audios/blob/master/controller/pagecontroller.php#L54
Have you same problems using the app with Firefox on Win7?

from audios.

szepeviktor avatar szepeviktor commented on August 12, 2024

Yes, I have.

This is the header: default-src 'none';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self';font-src 'self';connect-src 'self';media-src 'self';frame-src 'self'.

from audios.

libasys avatar libasys commented on August 12, 2024

Still this problem exists with ownCloud 8.1.1?

from audios.

szepeviktor avatar szepeviktor commented on August 12, 2024

Yes. Now the message ends: ("img-src https://qupdate.net").

from audios.

v1r0x avatar v1r0x commented on August 12, 2024

For me, adding this line to the index() in the pagecontroller fixed it:

$csp->addAllowedImageDomain('data:');

from audios.

szepeviktor avatar szepeviktor commented on August 12, 2024

Yes, that seems to be OK.

from audios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.