Skip to content

Commit d9a7dc3

Browse files
committed
some markdown formatting
1 parent baa873e commit d9a7dc3

File tree

10 files changed

+61
-59
lines changed

10 files changed

+61
-59
lines changed

content/blog/jinja-2-10-1-released.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ tags = ["releases", "security"]
66
~~~~
77

88
Jinja 2.10.1 has been released and includes a security-related fix. If
9-
you are using the Jinja [sandboxed environment][] you are encouraged to
9+
you are using the Jinja [sandboxed environment] you are encouraged to
1010
upgrade.
1111

12-
MITRE has assigned [CVE-2019-10906][] to this issue.
12+
MITRE has assigned [CVE-2019-10906] to this issue.
1313

14-
Thank you to [Brian Welch][] for responsibly reporting the issue, and to
15-
[Armin Ronacher][] for writing the fix.
14+
Thank you to [Brian Welch] for responsibly reporting the issue, and to
15+
[Armin Ronacher] for writing the fix.
1616

1717
The sandbox is used to restrict what code can be evaluated when
1818
rendering untrusted, user-provided templates. Due to the way string
1919
formatting works in Python, the `str.format_map` method could be used to
2020
escape the sandbox.
2121

2222
This issue was previously addressed for the `str.format` method in
23-
[Jinja 2.8.1][], which discusses the issue in detail. However, the
23+
[Jinja 2.8.1], which discusses the issue in detail. However, the
2424
less-common `str.format_map` method was overlooked. This release applies
2525
the same sandboxing to both methods.
2626

content/blog/werkzeug-0-15-0-released.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ to understand what changes may affect your code when upgrading.
2929
URL is logged by the dev server rather than showing percent escapes.
3030
* Deprecation warnings have been added throughout the code in
3131
preparation for version 1.0.
32-
* Werkzeug now uses [pre-commit][], [black][], [reorder-python-imports][],
33-
and [flake8][] to provide consistent code formatting. The code also
32+
* Werkzeug now uses [pre-commit], [black], [reorder-python-imports],
33+
and [flake8] to provide consistent code formatting. The code also
3434
moved to a `src` directory layout.
3535
* And much more!
3636

content/blog/werkzeug-0-15-3-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags = ["releases", "security"]
66
~~~~
77

88
Werkzeug 0.15.3 has been released, followed closely by 0.15.4. Both fix
9-
bugs and compatibility issues. The [changelog][] lists the changes in
9+
bugs and compatibility issues. The [changelog] lists the changes in
1010
detail, which include:
1111

1212
* The debugger pin is unique per Docker container.

content/blog/werkzeug-0-15-5-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags = ["releases", "security"]
66
~~~~
77

88
Werkzeug 0.15.5 has been released, containing bug and security fixes.
9-
The [changelog][] lists the changes in detail, which include:
9+
The [changelog] lists the changes in detail, which include:
1010

1111
* `SharedDataMiddleware` safely handles drive names in paths on Windows.
1212
* The reloader no longer causes an `Exec format error` in many common

content/donate.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ managers can help us stay focused and productive. The Pallets teams does what
88
they do because they love the frameworks and they love to code, and we are
99
grateful to the community support that helps that continue. Thank you!
1010

11-
* Donate through GitHub Sponsors: <https://github.com/sponsors/pallets>
12-
* Donate through the Python Software Foundation (PSF): <https://psfmember.org/civicrm/contribute/transact/?reset=1&id=20>
13-
* Subscribe through thanks.dev: <https://thanks.dev>
14-
* Subscribe through Tidelift: <https://tidelift.com>
11+
- Donate through GitHub Sponsors: <https://github.com/sponsors/pallets>
12+
- Donate through the Python Software Foundation (PSF):
13+
<https://psfmember.org/civicrm/contribute/transact/?reset=1&id=20>
14+
- Subscribe through thanks.dev: <https://thanks.dev>
15+
- Subscribe through Tidelift: <https://tidelift.com>
1516

1617
See the [Funding Sources](funding.md) page for details about all our funding
1718
sources.

content/ecosystem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Pallets Community Ecosystem
22

3-
The [Pallets-Eco][] organization is a collaborative community to share the
3+
The [Pallets-Eco] organization is a collaborative community to share the
44
responsibility of maintaining libraries that work with and extend Pallets
55
libraries.
66

@@ -19,7 +19,7 @@ everything themselves.
1919

2020
## Help Us Grow
2121

22-
The Pallets-Eco organization is based on the successful [JazzBand][]
22+
The Pallets-Eco organization is based on the successful [JazzBand]
2323
organization. We're still in the early days of setting up the community, and
2424
still need to set up guidelines, automation, and other resources for
2525
contributors and maintainers. If you would like to help with that, please join
@@ -40,7 +40,7 @@ A trusted user will invite you to the GitHub organization.
4040
If you maintain a well-known extension that of a Pallets library, and need
4141
assistance with that effort, you can transfer the project to Pallets-Eco.
4242

43-
After joining the organization, you can use [GitHub's transfer feature][] to
43+
After joining the organization, you can use [GitHub's transfer feature] to
4444
transfer the repository to the Pallets-Eco organization. You'll retain access,
4545
and the other organization members will gain access. Only trusted users can make
4646
releases, so you don't have to worry about security issues.

content/funding.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Funding Sources
22

33
Pallets is an open source community organization. We are a part of the Python
4-
Software Foundation (PSF) as a [fiscal sponsoree][], who help manage our funds
4+
Software Foundation (PSF) as a [fiscal sponsoree], who help manage our funds
55
and provide administrative assistance.
66

77
[fiscal sponsoree]: https://www.python.org/psf/fiscal-sponsorees/
@@ -14,7 +14,7 @@ Donate to Pallets through GitHub Sponsors here:
1414
<https://github.com/sponsors/pallets>
1515

1616
If you or your company already uses GitHub, the easiest way to donate to us may
17-
be through [GitHub Sponsors][]. You may donate any amount, either one time or on
17+
be through [GitHub Sponsors]. You may donate any amount, either one time or on
1818
a schedule.
1919

2020
[GitHub Sponsors]: https://github.com/sponsors
@@ -37,8 +37,8 @@ budget, and then distributes your donation to your dependencies.
3737

3838
## EthicalAds and Read the Docs
3939

40-
Our documentation is hosted by [Read the Docs][], which shows relevant and
41-
non-intrusive ads through [EthicalAds][]. Both projects are run by trusted
40+
Our documentation is hosted by [Read the Docs], which shows relevant and
41+
non-intrusive ads through [EthicalAds]. Both projects are run by trusted
4242
members of the Python community.
4343

4444
We receive a portion of advertising revenue on our documentation pages.
@@ -50,7 +50,7 @@ Please consider disabling ad blocking for EthicalAds:
5050

5151
## Tidelift Enterprise Subscription
5252

53-
[Tidelift][] provides tools, data, and strategies that help organizations
53+
[Tidelift] provides tools, data, and strategies that help organizations
5454
assess risk and improve the health, security, and resilience of the open source
5555
used in their applications.
5656

content/releases.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ See our [Version Support Policy](versions.md) as well.
99

1010
## Notifications
1111

12-
PyPI provides an RSS feed of [release notifications][] for each project. You can
12+
PyPI provides an RSS feed of [release notifications] for each project. You can
1313
find it at the top of the "Release history" tab on the project's page.
1414

1515
[release notifications]: https://pypi.org/help/#project-release-notifications
@@ -33,7 +33,7 @@ are being reported.
3333
## Security
3434

3535
Building and publishing releases is automated with GitHub workflows and PyPI's
36-
[Trusted Publisher][] authentication. Team members on GitHub and PyPI are
36+
[Trusted Publisher] authentication. Team members on GitHub and PyPI are
3737
required to have 2FA enabled.
3838

3939
[Trusted Publisher]: https://docs.pypi.org/trusted-publishers/
@@ -48,6 +48,6 @@ The context of each build is recorded and signed as SLSA provenance. The
4848
provenance file can be found on the GitHub release page, usually called
4949
`multiple.intoto.jsonl`. Eventually, PyPI will support uploading and displaying
5050
verification for these files. For now, they can be verified manually using
51-
[slsa-verifier][].
51+
[slsa-verifier].
5252

5353
[slsa-verifier]: https://github.com/slsa-framework/slsa-verifier

content/security.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,23 @@ The following categories will generally not be considered security issues. You
3131
may still err on the side of caution and make a private report first, but we
3232
may close it or ask you to report a regular issue instead.
3333

34-
* The Werkzeug and Flask development server, debugger, and reloader.
35-
Documentation and startup messages already clearly indicate that these are
36-
intended for local development only.
37-
* Use of Jinja and MarkupSafe HTML escaping in other contexts, such as JavaScript.
38-
* Use of SHA-1 in ItsDangerous. SHA-1 is not vulnerable when used as an
39-
intermediate step in HMAC, and ItsDangerous can be configured to use another
40-
algorithm when needed.
41-
* Insecure configuration or code in a project *using* our libraries. This should
42-
be reported to the relevant project instead.
43-
* Regular expression performance, often referred to as "ReDoS". Deployed
44-
applications should use standard/recommended resource limits offered by their
45-
server software and hosting service. You may report this as a regular
46-
performance issue instead of a security issue.
47-
* Automated reports from vulnerability scanners or "AI" tools. Please make it
48-
clear that you understand what you are reporting and have put personal time
49-
into crafting the report.
50-
* Do not report something that has already been fixed and released; check the
51-
project's change log. Getting a notification from your security scanner that
52-
you need to update is not itself a new vulnerability to report.
34+
- The Werkzeug and Flask development server, debugger, and reloader.
35+
Documentation and startup messages already clearly indicate that these are
36+
intended for local development only.
37+
- Use of Jinja and MarkupSafe HTML escaping in other contexts, such as
38+
JavaScript.
39+
- Use of SHA-1 in ItsDangerous. SHA-1 is not vulnerable when used as an
40+
intermediate step in HMAC, and ItsDangerous can be configured to use another
41+
algorithm when needed.
42+
- Insecure configuration or code in a project *using* our libraries. This
43+
should be reported to the relevant project instead.
44+
- Regular expression performance, often referred to as "ReDoS". Deployed
45+
applications should use standard/recommended resource limits offered by
46+
their server software and hosting service. You may report this as a regular
47+
performance issue instead of a security issue.
48+
- Automated reports from vulnerability scanners or "AI" tools. Please make it
49+
clear that you understand what you are reporting and have put personal time
50+
into crafting the report.
51+
- Do not report something that has already been fixed and released; check the
52+
project's change log. Getting a notification from your security scanner that
53+
you need to update is not itself a new vulnerability to report.

content/versions.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ See our [Release Policy](releases.md) as well.
1616

1717
## Version Format
1818

19-
Each project uses versions that follow the [PEP 440][] format. Stable releases
19+
Each project uses versions that follow the [PEP 440] format. Stable releases
2020
have three numbers, `A.B.C`. We follow a version scheme similar to Python
2121
itself.
2222

23-
* The `A` number is considered a "milestone" release. It increases rarely, and
24-
indicates a significant change in the project's structure or capabilities.
25-
* The `B` number is considered a "feature" release. Increasing this number
26-
indicates adding new features, and may deprecate existing code or remove
27-
previously deprecated code.
28-
* The `C` number is considered a "fix" release. Increasing this number indicates
29-
changes to fix bugs or security issues, and will not intentionally break
30-
public APIs.
23+
- The `A` number is considered a "milestone" release. It increases rarely, and
24+
indicates a significant change in the project's structure or capabilities.
25+
- The `B` number is considered a "feature" release. Increasing this number
26+
indicates adding new features, and may deprecate existing code or remove
27+
previously deprecated code.
28+
- The `C` number is considered a "fix" release. Increasing this number
29+
indicates changes to fix bugs or security issues, and will not intentionally
30+
break public APIs.
3131

3232
## Public API, Deprecations, and Removals
3333

@@ -50,7 +50,7 @@ migrations.
5050

5151
## Pinning Versions and Constraints
5252

53-
When writing an application, you *must* use a tool like [pip-compile][] to pin
53+
When writing an application, you *must* use a tool like [pip-compile] to pin
5454
your application's full dependency tree. This gives you reproducible
5555
deployments, allowing you to control when you get updates.
5656

@@ -75,11 +75,11 @@ versions as `major.major.patch` if you need to use SemVer in other contexts.
7575

7676
Please see any of the following resources for more information:
7777

78-
* <https://hynek.me/articles/semver-will-not-save-you/>
79-
* <https://www.youtube.com/watch?v=WSVFw-3ssXM&t>
80-
* <https://snarky.ca/why-i-dont-like-semver/>
81-
* <https://caremad.io/posts/2016/02/versioning-software/>
82-
* <https://bernat.tech/posts/version-numbers/>
83-
* <https://iscinumpy.dev/post/bound-version-constraints/>
78+
- <https://hynek.me/articles/semver-will-not-save-you/>
79+
- <https://www.youtube.com/watch?v=WSVFw-3ssXM&t>
80+
- <https://snarky.ca/why-i-dont-like-semver/>
81+
- <https://caremad.io/posts/2016/02/versioning-software/>
82+
- <https://bernat.tech/posts/version-numbers/>
83+
- <https://iscinumpy.dev/post/bound-version-constraints/>
8484

8585
[PEP 440]: https://peps.python.org/pep-0440/

0 commit comments

Comments
 (0)