File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change
1
+ # 3.7.2 / 2024-06-18
2
+
3
+ ** Security**
4
+
5
+ - Patches an issue where on certain browsers flags could be leaked with admin interaction on a malicious page
6
+
7
+ ** API**
8
+
9
+ - Disable returning 404s in listing pages with pagination
10
+ - Instead of returning 404 these pages will now return 200
11
+ - For API endpoints, the response will be a 200 with an empty listing instead of a 404
12
+
13
+ ** Deployment**
14
+
15
+ - CTFd will now add the ` Cross-Origin-Opener-Policy ` response header to all responses with the default value of ` same-origin-allow-popups `
16
+ - Add ` CROSS_ORIGIN_OPENER_POLICY ` setting to control the ` Cross-Origin-Opener-Policy ` header
17
+
1
18
# 3.7.1 / 2024-05-31
2
19
3
20
** Admin Panel**
Original file line number Diff line number Diff line change 32
32
from CTFd .utils .updates import update_check
33
33
from CTFd .utils .user import get_locale
34
34
35
- __version__ = "3.7.1 "
35
+ __version__ = "3.7.2 "
36
36
__channel__ = "oss"
37
37
38
38
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ class ServerConfig(object):
141
141
PERMANENT_SESSION_LIFETIME : int = config_ini ["security" ].getint ("PERMANENT_SESSION_LIFETIME" ) \
142
142
or 604800
143
143
144
- CROSS_ORIGIN_OPENER_POLICY : str = empty_str_cast (config_ini ["security" ][ "CROSS_ORIGIN_OPENER_POLICY" ] ) \
144
+ CROSS_ORIGIN_OPENER_POLICY : str = empty_str_cast (config_ini ["security" ]. get ( "CROSS_ORIGIN_OPENER_POLICY" ) ) \
145
145
or "same-origin-allow-popups"
146
146
147
147
"""
You can’t perform that action at this time.
0 commit comments