chore: Remove add-django-http-cookie-value-none.patch
Fixed upstream
This commit is contained in:
parent
c4f99d0b1d
commit
ccb7d666ce
|
@ -1120,7 +1120,6 @@ CHECKS_LIBRARY_PATCHES_TO_APPLY = [
|
|||
'patch/fix-oidc-access-token-post.patch',
|
||||
'patch/fix-jwkest-jwt-logging.patch',
|
||||
'patch/fix-django-password-strength-kwargs.patch',
|
||||
'patch/add-django-http-cookie-value-none.patch',
|
||||
'patch/django-cookie-delete-with-all-settings.patch',
|
||||
'patch/tastypie-django22-fielderror-response.patch',
|
||||
]
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
--- django/http/response.py.orig 2020-07-08 14:34:42.776562458 +0200
|
||||
+++ django/http/response.py 2020-07-08 14:35:56.454687322 +0200
|
||||
@@ -196,8 +196,8 @@
|
||||
if httponly:
|
||||
self.cookies[key]['httponly'] = True
|
||||
if samesite:
|
||||
- if samesite.lower() not in ('lax', 'strict'):
|
||||
- raise ValueError('samesite must be "lax" or "strict".')
|
||||
+ if samesite.lower() not in ('lax', 'strict', 'none'):
|
||||
+ raise ValueError('samesite must be "lax", "strict", or "none", not "%s".' % samesite)
|
||||
self.cookies[key]['samesite'] = samesite
|
||||
|
||||
def setdefault(self, key, value):
|
Loading…
Reference in a new issue