Skip to content

Commit 3347a98

Browse files
committed
Add image/svg-xml as valid type to serve.
Was being turned into application/octet-stream rather than being displayed.
1 parent 6ca4eaf commit 3347a98

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGES.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ Python v2.5 and v2.6. Starting with the v1.6 releases of Roundup
1111
v2.7.2 or later are required to run newer releases of Roundup. From v2.0
1212
onwards Python 3.4 and later are also supported.
1313

14+
2021-xx-yy 2.1.0
15+
16+
Fixed:
17+
18+
- issue2551122 - fixing order by a link/multilink broke other props
19+
should be final change for that ticket. (John Rouillard)
20+
21+
Features:
22+
23+
- add image/svg-xml as valid mime type to serve. Was being served as
24+
octet-stream. (John Rouillard)
25+
1426
2021-06-19 2.1.0b1
1527

1628
Fixed:

roundup/cgi/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,6 +1625,7 @@ def serve_file(self, designator, dre=re.compile(r'([^\d]+)(\d+)')):
16251625
'image/gif',
16261626
'image/jpeg',
16271627
'image/png',
1628+
'image/svg+xml',
16281629
'image/webp',
16291630
'audio/ogg',
16301631
'video/webm',

0 commit comments

Comments
 (0)