English
Open in Telegram

Post 🚀 New issue to wemake-services/django-modern-rest by @sobolevn

1 September 2026
W
wps_forward_bot
🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 Do not expose `reason` in `ensure_csrf` check (#1332) Currently our responses show why CSRF check fails: 1.  django-modern-rest/dmr/internal/csrf.py  Line 12 in a2d44b1 2.  django-modern-rest/dmr/internal/csrf.py  Lines 35 to 44 in a2d44b1 It is even tested in some places as: assert json.loads(response.content) == snapshot({ 'detail': [ { 'msg': 'CSRF Failed: CSRF cookie not set.', }, ], }) Which is not correct at all! We must only show this during the debug builds, not in production. Just like Django does: 1. https://github.com/django/django/blob/73cc09f14f13fedddc14d6ba5b287cb33c24e4a4/django/views/templates/csrf_403.html#L38-L46 2. https://github.com/django/django/blob/73cc09f14f13fedddc14d6ba5b287cb33c24e4a4/django/views/csrf.py#L22-L81 (please, do not take this issue before the 1st of September) #bug #good_first_issue #help_wanted #security #opensource_september #django_modern_rest sent via relator
1 · 200 ·

Nearby in the feed

Wwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 Make sure that `SSE` validation for events work correctly, including custom types and `validateWwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 `HttpBasicSyncAuth` and `HttpBasicAsyncAuth` must strictly configure `auth_scheme` prefix (#133
this message
Wwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 `BytesIO(request.body)` in `parse_as_post` copy the `request.body` object (#1328) django-modernWwps_forward_bot🚀 New issue to wemake-services/django-modern-rest by @sobolevn 📝 `leeway` / `iat` checks are not consistent in JWT token (#1324) Currently we do double validati
ННаходки в опенсорсе: PythonНаходки в опенсорсе: Python@opensource_findings_python · channel · Tech
1 052subscribers369average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count