Answers.Body: <p>Half-bug, half side-effect/undesired behavior for SVG sanitization that got added in <a href="https://craftcms.com/changelog#2-6-2982" rel="nofollow noreferrer">Craft 2.6.2982</a> for SVGs that use embedded data.</p>
  
  <p>The next release of Craft (post 2.6.2983) adds a <code>sanitizeSvgUploads</code> config setting (<code>true</code> by default) that you will be able to set to false to disable SVG sanitization.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-23T15:54:05.627Z
Answers.Text: Nice to see it fixed so quickly
Answers.UserDisplayName: zedjay72
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-21T22:06:22.133Z
Answers.LastActivityDate: 2017-06-21T22:06:22.133Z
Answers.UserDisplayName: Brad Bell
Body: <p>Running 2.6.2983 on OS Sierra.</p>
  
  <p>I'm noticing that some of my SVG files when uploading are going from 50kb to 1kb and then appear completely blank when trying to view them. Does anyone have a clue why this would be happening?</p>
  
  <p>Thanks,</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-21T21:47:03.973Z
Comments.Text: This sounds like a bug. Please email support@craftcms.com for assistance.
Comments.UserDisplayName: Lindsey D
Tags: <assets><svg>
Title: Odd behaviour when uploading .svg Assets
ThreadText: # Odd behaviour when uploading .svg Assets
  
  (Asked by: username_0 on 2017-06-21)
  
  Running 2.6.2983 on OS Sierra.
  
  I'm noticing that some of my SVG files when uploading are going from 50kb to 1kb and then appear completely blank when trying to view them. Does anyone have a clue why this would be happening?
  
  Thanks,
  
  **Tags:** assets, svg
  
  > **Comments:**
  > **username_1**: This sounds like a bug. Please email support@craftcms.com for assistance.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-06-21. Score: 4 | Accepted answer
  
  Half-bug, half side-effect/undesired behavior for SVG sanitization that got added in [Craft 2.6.2982](https://craftcms.com/changelog#2-6-2982) for SVGs that use embedded data.
  
  The next release of Craft (post 2.6.2983) adds a `sanitizeSvgUploads` config setting (`true` by default) that you will be able to set to false to disable SVG sanitization.
  
  > **Comments:**
  > **username_0**: Nice to see it fixed so quickly  
  
  ---
  
  