Comments (3)
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.
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:
from sharry.
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)
- [Feature Request] Allow anonymous uploads to shares. HOT 1
- [FR] Allow expiration and deletion of unpublished shares HOT 4
- Responses contain `Content-Length` header and `Transfer-Encoding:chunked` headers HOT 21
- Allow to change schema when using postgresql
- s3 auth does not seem to support node / service account roles - access key and secret required HOT 3
- Problems with using Keycloak as OAuth provider HOT 6
- Azure AD Authentication doesn't work with java.net.ConnectException: Connection timed out HOT 6
- CORS blocked when uploading a file using Caddy reverse proxy. HOT 5
- nix: build sharry from source
- Error message : 106% percent over 100 HOT 6
- mp4 files are not playing in browser HOT 10
- Add ability to create admin accounts with all auth modules HOT 2
- Broken Nix installation guide HOT 1
- Sign-in with oauth (via Google) creates accounts even if signup is set to "invite" or "closed" HOT 4
- Shares disappearing after reboot HOT 2
- mp4 files are not playing in browser - maybe related to #1328 HOT 1
- Disable new user signup HOT 2
- Unraid support HOT 1
- Possible to set longer expirations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharry.