summaryrefslogtreecommitdiff
path: root/tests/validators/tests.py
AgeCommit message (Expand)Author
2025-01-15[4.2.x] Fixed #36098 -- Fixed validate_ipv6_address()/validate_ipv46_address(...Mariusz Felisiak
2023-07-03[4.2.x] Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator a...Mariusz Felisiak
2022-09-17Fixed #34014 -- Fixed DecimalValidator validating 0 in positive exponent scie...Kamil Turek
2022-05-12Fixed #32559 -- Added 'step_size’ to numeric form fields.Kapil Bansal
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2021-09-20Refs #31670 -- Removed whitelist argument and domain_whitelist attribute in E...Mariusz Felisiak
2021-08-06Refs #22123 -- Added more URLValidator test for invalid IPv6 literals.Mariusz Felisiak
2021-07-28Fixed #32959 -- Moved tests URLs to validators.tests.chrishna1
2021-06-02Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.Mariusz Felisiak
2021-05-06Fixed #32713, Fixed CVE-2021-32052 -- Prevented newlines and tabs from being ...Mariusz Felisiak
2020-07-16Fixed typo in DecimalValidator tests.Claudio Catterina
2020-06-18Refs #31670 -- Renamed whitelist argument and attribute of EmailValidator.David Smith
2020-05-08Fixed #31548 -- Fixed URLValidator crash on non-strings.Yash Saini
2020-05-08Added URLValidator test for missing scheme.Yash Saini
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU
2018-10-22Fixed #29860 -- Allowed BaseValidator to accept a callable limit_value.buzzi
2018-08-18Refactored validators tests to use subtests.Tom Forbes
2018-01-10Fixed #29007 -- Fixed DecimalValidator crash on NaN, SNan, Inf, and Infinity ...Fabio Bonelli
2017-09-27Fixed #28562 -- Fixed DecimalValidator handling of positive exponent scientif...Josh Schneier
2017-09-11Added tests for DecimalValidator.Josh Schneier
2017-08-12Fixed #28201 -- Added ProhibitNullCharactersValidator and used it on CharFiel...Alejandro Zamora
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-07Fixed #28165 -- Ignored case in FileExtensionValidator's allowed_extensions.Arne de Laat
2017-06-07Added FileExtensionValidator tests for uppercase and missing file extensions.Arne de Laat
2017-01-20Refs #23919 -- Removed str_prefix usageClaude Paroz
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
2017-01-18Refs #23919 -- Replaced io.open() with open().Aymeric Augustin
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-28Fixed #26578 -- Prohibited non-ASCII digits in validate_ipv4_address.wim glenn
2016-07-02Refs #21548 -- Skipped tests that rely on pillow when it's not installedBaptiste Mispelon
2016-06-30Fixed #21548 -- Added FileExtensionValidator and validate_image_file_extension.Berker Peksag
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
2016-02-18Fixed #26107 -- Added option to int_list_validator() to allow negative integers.Akshesh
2015-10-31Fixed #25635 -- Made URLValidator allow '+' in scheme.Dheerendra Rathor
2015-09-18Fixed #24636 -- Added model field validation for decimal places and max digits.Iulia Chiriac
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
2015-07-08Fixed catastrophic backtracking in URLValidator.Shai Berger
2015-07-08Prevented newlines from being accepted in some validators.Tim Graham
2015-04-17Fixed #24349 -- Limited domain name labels to 63 characters in EmailValidatorAnoop Thomas Mathew
2015-03-25Fixed #24531 -- Improved CommaSeparatedIntegerField validation.Bertrand Bordage
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-11-03Refactored URLValidator tests by moving URLs to text files.Danilo Bargen
2014-07-26Fixed #16617 -- Added 'value' to BaseValidator params.Anubhav Joshi
2014-07-04Corrected domain max length for EmailValidator; refs #20631.Tim Graham
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
2014-05-16Fixed #22579 -- Corrected validation for email to reject trailing slashErik Romijn
2014-05-08Fixed #22588 -- Fix RegexValidator __eq__David Szotten