# Can't upload svg files

**URL:** https://discourse.getcockpit.com/t/cant-upload-svg-files/1184
**Category:** Support
**Created:** [February 2, 2020, 8:46pm UTC](https://discourse.getcockpit.com/t/cant-upload-svg-files/1184 "2020-02-02T20:46:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ds-codemag](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/ds-codemag/32/439_2.png) [@ds-codemag](https://discourse.getcockpit.com/u/ds-codemag)
#### Post date: [February 2, 2020, 8:46pm UTC](https://discourse.getcockpit.com/t/cant-upload-svg-files/1184/1 "2020-02-02T20:46:28Z")

</div>

As in topic. I can’t upload svg files. I have cockpit installed on nginx server.

---

<div class="post-metadata">

### Author: ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)
#### Post date: [February 6, 2020, 1:15pm UTC](https://discourse.getcockpit.com/t/cant-upload-svg-files/1184/2 "2020-02-06T13:15:17Z")

</div>

Do you have a sample file?  
It might be a problem with the sanitizer, that was implemented in June 2019.  
See also: [https://github.com/agentejo/cockpit/issues/1226](https://github.com/agentejo/cockpit/issues/1226)
