A warning should be issued when an invalid separator is passed to signing.Signer
|Reported by:||David Wolever||Owned by:||Jaap Roes|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently there is no warning or error when an invalid value (ex,
-) is passed to
See https://github.com/django/django/pull/2784 for a patch which adds a warning.
An exception might be even better, but that would break backwards compatibility.
Change History (13)
comment:1 Changed 2 years ago by
|Summary:||A warning should be issued when an invalid separator is passed to crypto.Signer → A warning should be issued when an invalid separator is passed to signing.Signer|
comment:2 Changed 2 years ago by
|Patch needs improvement:||set|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → Cleanup/optimization|