Fixed #22483 (again). Forwardport of 5cd6429 from stable/1.7.x
Forwardport of 9bbb43d from stable/1.7.x
…re on Oracle.
- Fixed bug in get_callable() that caused resolve() to put a string in ResolverMatch.func. - Made ResolverMatch.url_name match the actual url name (or None). - Updated tests that used the string value in ResolverMatch.func, and added regression tests for this bug. - Corrected test urls whose dummy view paths caused failures (behavior that was previously masked by this bug).
Since all state is maintained on the connection at this time and none in the atomic, it doesn't matter, but it could introduce some subtle bugs if the implementation changed in the future.
Refs #18714. Same logic as options for makemessages commands.
cache.add() incorrectly succeeded when there was an existing key with an infinite (None) timeout.
…unctools.partial. Regression in 8b93b31. Thanks rcoup for the report.
Various documentation typo/spelling fixes
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand.
Use the stdlib's compare_digest for constant time comparisons when available
Forward ported code from 1.5 that adds backwards compatibility with legacy message length. See commit 9e71830 for details. Thanks to Ofir Ovadia for the initial patch.
…casting. This is a security fix; disclosure to follow shortly.
This is a security fix. Disclosure will follow shortly.
Thanks Benjamin Bach for the report and initial patch. This is a security fix; disclosure to follow shortly.
Fixed bad code introduced in 2f9d157.
Removed old test runner test cases.
This is useful for tests manually calling migrate inside a testcase, for normal usage this should make no difference, since there is no surrounding transaction after all. If there is one we still try to leave the transaction in a useable state (for postgres at least). If this commit turns out to be causing issues, settings savepoint=False is probably the right fix :)