-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to parse header from Nginx #3770
Comments
To be honest, I never saw these feature-policy… If so, can you create us a test account, test if the problem occurs also there and if so send the credentials to tobias at nextcloud dot com with a reference to this issue? |
@tobiasKaminsky email sent |
Looking at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy this header is experimental and in the process of being incorporated into browsers. |
Our library refuses to work as it excepts all header to be in "key : value". Edit: wrong idea. |
Somehow the header seems to be corrupt: sync-xhr 'self' https://url; microphone 'self'; camera 'self'; magnetometer 'none'; gyroscope 'none'; speaker 'self'; But it should be only one… Also with curl I cannot connect:
Do you have a line break after push 'self'? |
@tobiasKaminsky yes you are right, checked my header.config and there was two linebreaks, fixed now. |
Glad that we figured the error. |
Actual behaviour
Expected behaviour
Steps to reproduce
Environment data
Android version: 9
Device model: Oneplus 6
Stock or customized system: Stock
Nextcloud app version: 3.5.1
Nextcloud server version: 15.0.5
Screenshot
Web server (Nginx) header configuration with some hardenings
The text was updated successfully, but these errors were encountered: