3.0.0RC2 - Issue with x_frame_options
Forum rules
Help us help you:
Help us help you:
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: 3.0.0RC2 - Issue with x_frame_options
I had our internal webserver, cherrypy, nog configured correctly. So when we did a redirect to for example /login/, it would try to find the full hostname of the current setup and prepend it. It wouldn't know about the proxy, so setup the wrong redirect.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 3.0.0RC2 - Issue with x_frame_options
Hi, following on from this, I think a change in Chrome means I am no longer able to access Sab via organizr. I am on 3.3.0-develop [ec40cbc]
The error given is:
The error given is:
Code: Select all
Indicate whether a cookie is intended to be set in a cross-site context by specifying its SameSite attribute
Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being set in a cross-site context. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.
Resolve this issue by updating the attributes of the cookie:
Specify SameSite=None and Secure if the cookie is intended to be set in cross-site contexts. Note that only cookies sent over HTTPS may use the Secure attribute.
Specify SameSite=Strict or SameSite=Lax if the cookie should not be set by cross-site requests.
Re: 3.0.0RC2 - Issue with x_frame_options
Seems SAB would need to specify SameSite=None.
But those would require HTTPS to be used..
https://www.chromestatus.com/feature/5633521622188032
But those would require HTTPS to be used..
https://www.chromestatus.com/feature/5633521622188032
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 3.0.0RC2 - Issue with x_frame_options
I tried with https and same issue. Any other ideas?safihre wrote: ↑June 3rd, 2021, 8:49 am Seems SAB would need to specify SameSite=None.
But those would require HTTPS to be used..
https://www.chromestatus.com/feature/5633521622188032
Re: 3.0.0RC2 - Issue with x_frame_options
It will only work if we add that flag, so just using HTTPS is not enough.
Plus it has to be actual-HTTPS, so not using self-signed certificates..
Plus it has to be actual-HTTPS, so not using self-signed certificates..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 3.0.0RC2 - Issue with x_frame_options
Yes, and have a "real" domainname, can't get certs for things linke "localhost" or "mynas".
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 3.0.0RC2 - Issue with x_frame_options
You can get a free certificate from https://letsencrypt.org and a domain from https://www.duckdns.org/. There are various guides for setting them up together so that the certificate is updated automatically.
Re: 3.0.0RC2 - Issue with x_frame_options
Good to know that. Thanks.
Are you looking to add that flag to Sab then?
Are you looking to add that flag to Sab then?