Code Monkey home page Code Monkey logo

Comments (3)

eikek avatar eikek commented on June 20, 2024

Thanks for the report! I'm not sure I understand the issue correctly: who is putting this value into the headers? Sharry doesn't do this afaict, right? So even if Firefox supports this csp directive in the future - it does it only when it's present?

This js file is generated from Elm, so there is not much we can do 🤷🏼. Then I see a base64.js file being loaded - this doesn't happen on my installation as well?

from sharry.

joeld-win avatar joeld-win commented on June 20, 2024

who is putting this value into the headers? Sharry doesn't do this afaict, right?

Correct, I added this directive to the CSP header on all our sites, via the nginx conf file in this case, in response to a security audit. I understand this directive is still considered “experimental” so I will just roll it back for now, but it will probably become part of JS best practice before too long.

Anyway, sounds like this is may be a limitation of the Elm compiler for the time being?

Regarding the base64.js file, here’s where it’s coming from:

image

from sharry.

eikek avatar eikek commented on June 20, 2024

Ah I see, thanks for clarification! Yes, I think for the sharry-app.js this must be somehow addressed by Elm, this file is the product of compiling the elm source files. Let's see, perhaps there will be a new release when this directive becomes more widespread.

Thanks also for showing the base64.js - I totally forgot the dependencies from tus.js here.

from sharry.

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.