chore: Remove add-django-http-cookie-value-none.patch

Fixed upstream
This commit is contained in:
Jennifer Richards 2023-05-12 10:50:27 -03:00
parent c4f99d0b1d
commit ccb7d666ce
No known key found for this signature in database
GPG key ID: 9B2BF5C5ADDA6A6E
2 changed files with 0 additions and 14 deletions

View file

@ -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',
]

View file

@ -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):