Conversation
Member
Author
|
Confirmed that all 2.11.x supported Pythons pass in Tox locally, since CI isn't configured on this branch anymore. |
earthgecko
added a commit
to earthgecko/skyline
that referenced
this pull request
Feb 2, 2021
IssueID #3960: SNYK-PYTHON-JINJA2-1012994 - Update to Jinja-2.11.3 as per: https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28493 https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py#L20 pallets/jinja#1343 Modified: dev-requirements.txt requirements.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Match leading and trailing punctuation as separate steps. For trailing punctuation, perform a basic check first to reduce backtracking. Update the email regex to reduce backtracking and also be more accurate: the domain part must start with a word character, and the tld only matches word characters.
This is backported from #1195, but only includes the regex speedups, not the other changes.
Checklist:
Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.Add or update relevant docs, in the docs folder and in code.CHANGES.rstsummarizing the change and linking to the issue.Add.. versionchanged::entries in any relevant code docs.pre-commithooks and fix any issues.pytestandtox, no tests failed.