#31980: manage.py check --deploy should not throw security.W004 warning if SECURE_HSTS_SECONDS is explicitly set to 0 -------------------------------------+------------------------------------- Reporter: magnus-longva- | Owner: nobody bouvet | Type: Bug | Status: closed Component: Core (Management | Version: master commands) | Severity: Normal | Resolution: invalid Keywords: check deploy | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by felixxm):
* cc: Adam (Chainz) Johnson (added) * status: new => closed * resolution: => invalid * easy: 1 => 0 Comment: As far as I'm aware setting `SECURE_HSTS_SECONDS` to `0` doesn't set the HTTP Strict Transport Security header on responses, so this warning is still valid. -- Ticket URL: <https://code.djangoproject.com/ticket/31980#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/078.5d6da12fa73500c4244c5a2e5b746096%40djangoproject.com.