Skip to content

Commit ab984c4

Browse files
authored
Upgrade bleach to 6.0.0 (#21254)
1 parent ad4d6cb commit ab984c4

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

requirements/prod.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ bitarray == 2.8.1 \
238238
--hash=sha256:f3128234bde3629ab301a501950587e847d30031a9cbf04d95f35cbf44469a9e \
239239
--hash=sha256:f7d2ec2174d503cbb092f8353527842633c530b4e03b9922411640ac9c018a19 \
240240
--hash=sha256:f9a66745682e175e143a180524a63e692acb2b8c86941073f6dd4ee906e69608
241-
bleach==5.0.1 \
242-
--hash=sha256:085f7f33c15bd408dd9b17a4ad77c577db66d76203e5984b1bd59baeee948b2a \
243-
--hash=sha256:0d03255c47eb9bd2f26aa9bb7f2107732e7e8fe195ca2f64709fcf3b0a4a085c
241+
bleach==6.0.0 \
242+
--hash=sha256:1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414 \
243+
--hash=sha256:33c16e3353dbd13028ab4799a0f89a83f113405c766e9c122df8a06f5b85b3f4
244244
celery==5.3.1 \
245245
--hash=sha256:27f8f3f3b58de6e0ab4f174791383bbd7445aff0471a43e99cfd77727940753f \
246246
--hash=sha256:f84d1c21a1520c116c2b7d26593926581191435a03aa74b77c941b93ca1c6210

src/olympia/amo/tests/test_amo_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ def test_delete_file(self):
270270
[
271271
(
272272
'<script>alert("BALL SO HARD")</script>',
273-
'&lt;script&gt;alert("BALL SO HARD")&lt;/script&gt;',
273+
'&lt;script&gt;alert(&#34;BALL SO HARD&#34;)&lt;/script&gt;',
274274
),
275+
('Foo"', 'Foo&#34;'),
275276
('Bän...g (bang)', 'Bän...g (bang)'),
276277
(u, u),
277278
('-'.join([u, u]), '-'.join([u, u])),

0 commit comments

Comments
 (0)