Error trying to upload SVG 1.1 version
willianjusten opened this issue · comments
Hey guys, I'm trying to upload an SVG with version 1.1 (which is not so new) but it's failing. I remember using in the previous version and it was working, so this might be a regression bug.
Follow the SVG I'm trying to upload and I'm getting an error.
<svg xml:space="preserve" style="enable-background:new 0 0 3926.2 831.6;" viewBox="0 0 3926.2 831.6" y="0px" x="0px" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="Layer_1" version="1.1">
<style type="text/css">
.st0{fill:#5C5CFF;}
.st1{fill:#242A35;}
</style>
<g id="Layer_1_00000176002110941849719780000007084454867490731455_">
<g>
<g>
<g>
<path d="M291.4,453.9l232.9,364.7c5.9,8.9,14.8,13,25.4,13H636c16.6,0,29.6-13,29.6-29.6V29.5
c0-27.8-34.9-40.2-53.2-18.3l-321,407.3C284.3,427.9,284.3,442.7,291.4,453.9z" class="st0"></path>
</g>
<g>
<path d="M29.6,831.6h153.7c16.6,0,29.6-13,29.6-29.6V605.8c0-27.8-34.9-40.2-53.2-18.3L5.9,783.7
C-8.9,803.8,5.9,831.6,29.6,831.6z" class="st0"></path>
</g>
</g>
</g>
<g>
<path d="M2773.9,391.1c-1.8-2.4-3.7-4-5.8-6c-1.1-1-2.1-1.8-3.2-2.7c-0.6-0.5-1-0.8-1.6-1.4
c-7.6-6.3-15.4-11.6-23.8-16.1c-8.4-5-17.8-9.4-28.9-13.3c-11-3.9-21.6-6.7-31.7-8.3c-27.9-4.6-56.4-3.9-83.6,4.2
c-16.6,4.8-32.3,11.4-46.5,19.7c-14.2,8.3-27.5,18.6-39.4,30.4c-11.5,11.5-21.6,24.3-30.9,39.2c-8.9,14.2-15.5,29.3-20.3,46.1
c-9.6,33.4-9.6,69.4,0,102.9c5,17,11.9,32.5,20.3,46c9.3,14.9,19.5,27.8,30.9,39.2c11.9,11.9,25.2,22.1,39.5,30.5
c14.7,8.2,30.3,14.8,46.3,19.6c27.1,8,58.1,10.1,85.9,4.2c11.2-1.9,22-4.9,32-9.1c10.1-4.1,19.7-8.9,28.6-14.3
c9.7-5.8,18.5-11.9,26.2-17.9c2.7-2.3,4.7-4.4,6.7-6.6l1.1-1.2c2.6-3.4,3.6-5.5,4.4-8.1l0.4-2.4c0-4.1-0.4-7.6-2.6-11.1l-0.9-1.5
c-0.7-1.2-1.6-2.4-2.5-3.4l-2.5-3.4c-5-6.5-9.7-13.3-14.8-19.7c-2.6-2.6-4.7-4.7-7.8-5.7c-3-1-6.1-1-9.2,0
c-4.5,1.5-7.9,4.6-11.5,7.5l-4.5,3.8c-4.4,3.6-7,6-12.9,10.3c-5.3,4.2-10.9,7.3-17.8,10.8c-7.3,3.6-14.3,6.1-21.6,7.6
c-24.8,5.3-50.3,2.6-73.4-7.7c-14.4-6.4-27.8-15.7-39.6-27.5c-11.7-11.7-21-25.5-27.6-40.9c-14.1-30.4-14-68.2,0.1-98.6
c7.6-16.9,16.6-30.4,27.5-41.4c11.6-11.6,24.9-21,39.8-28.2c21-10.1,45.8-13.1,68.6-8.2c7.9,1.7,15.9,4.6,22.7,7.2
c7,2.7,13.5,6.5,20.4,10.5c13.7,8,28.8,30.8,43.6,12.7l21.4-28.7c2.4-3.5,2.6-6,2.2-9.7C2777.4,396.8,2775.4,393.1,2773.9,391.1z" class="st1"></path>
<path d="M1456.3,697.3L1222,164.2c-3.2-7.9-11.1-13.2-19.8-13.2h-37.5c-8.7,0-16.6,5.2-19.7,13L910.3,697
c-3.3,6.6-2.8,14.9,1.4,20.7c4,6.4,10.6,10,18.2,10h34.6c8.9,0,16.5-5,19.7-13.1l56.6-131.8h284.8l56,131.6
c3.2,8,11.1,13.3,19.8,13.3h34.1c7.3,0,14.5-2.7,18.2-8.4C1458.3,712.1,1459.7,704.2,1456.3,697.3z M1070.5,515.2l0.9-2.1
l112.9-262.7l113.3,264.9h-227.1V515.2z" class="st1"></path>
<path d="M3601.7,474.5c-5.6-20.3-14.9-40.3-26.9-57.9l-0.1-0.1c-9.4-13.2-20.7-23.6-30.5-32.4
c-13.3-11.2-24.9-18.6-36.3-23.3c-13-6.5-26.2-11.4-40.7-15c-31.2-7.8-64.2-7-95.1,1.8c-16.5,4.7-31.3,11.1-45.3,19.7
c-14.9,8.7-27.1,19.9-38.4,30.6c-12.3,12.9-21.4,25.5-28.6,39.4c-8.6,15.8-14.6,31.1-18.5,46.5c-6.3,25.3-9.5,53.6-4.2,79.4
c1.3,11.9,3.7,22.2,6,30.6c5.6,20.2,14.9,40.3,26.9,58c9.4,13.2,20.7,23.6,30.5,32.3c13.3,11.2,24.8,18.6,36.3,23.3
c12.9,6.5,26.2,11.3,40.7,15c31.2,7.8,64.2,7,95.1-1.8c16.5-4.7,31.3-11.2,45.3-19.7c14.9-8.7,27.1-19.9,38.4-30.6
c12.4-13,20.4-24,27.6-37.9l0.6-1.3c4-7.2,2-11.2,1.1-12.9c-1.7-3.5-5.7-5.3-8.6-5.3h-56c-5,0-9.8,2.2-12.4,5.7
c-7.1,8.6-15.1,15.9-24.4,22.3c-10.4,6.6-20.2,11-31.9,14.3c-24.8,7.1-51.4,6.6-75.7-2.2c-13-4.7-24.6-11-36.2-19.7
c-10.9-8.7-19.6-19.1-26.1-31c-6.2-11.3-10.5-32.3-12.1-40.7l-0.3-1.8h1.8l287.8-0.6c11.8-0.3,18.5-7.3,18.5-20.1
C3610.6,512.3,3607.9,497.5,3601.7,474.5z M3540.6,499.9l-232.9,1.1l0.6-2c3.9-13.2,9.6-25.3,17.2-37
c9.9-14.3,20.9-25.3,34.5-34.6c10.4-6.6,20.2-11,31.9-14.3c24.8-7.1,51.4-6.6,75.7,2.2c13,4.7,24.5,11,36.2,19.7
c10.9,8.7,19.7,19.1,26.2,31.1c5.8,10.2,9.6,20.3,12.1,32l0.4,1.8L3540.6,499.9z" class="st1"></path>
<path d="M1869.8,670.2c12.9-13.6,22.8-26.4,30.3-39.3c8.3-14.3,14.9-29.9,19.7-46.5c9.5-33.4,9.5-69.4,0-102.8
c-4.7-16.6-11.4-32.2-19.7-46.5c-8.3-14.3-18.6-27.5-30.4-39.4c-11.9-11.9-25.1-22.1-39.4-30.4c-14-8.2-29.5-14.8-45.9-19.7
c-40.7-11.6-86.3-9.5-125.1,7.9c-17.1,7.9-32.7,17.7-46.2,29.1l-2.5,2.1V364c0-12.3-6.8-19.1-19.1-19.1h-29.4
c-12.5,0-19.7,7-19.7,19.1v448.5c0,10.5,7.8,19.1,18.5,19.1h30c5.9,0,10.8-1.8,14.3-5.3s5.3-8,5.3-13.2V682l2.5,2.1
c13.6,11.5,28.9,21.1,45.6,28.6c38.8,17.3,84.3,19.5,125,7.8c16.6-4.7,32.2-11.3,46.5-19.7
C1844.5,692.5,1857.8,682.2,1869.8,670.2z M1780.4,651.5c-29.2,14.1-66.3,14-95.6,0c-15.8-7.4-28.8-16.7-39.6-28.7
c-11.3-11.9-20.2-25.4-27-41.3c-12.9-31.1-13.4-66.7,0-97.8c6.4-15,15.5-28.7,27-40.8c10.8-11.3,23.4-20.2,39.7-28.1
c29.2-14.1,66.3-14.1,95.5,0c15.2,7.3,28.3,16.8,39.1,28.1c10.8,11.4,19.7,25.1,26.5,40.8c13.2,30.8,13.2,66.9,0,97.7
c-6.6,15.4-15.5,29.4-26.6,41.5C1809,634.4,1795.9,644,1780.4,651.5z" class="st1"></path>
<path d="M2055.4,345.5H2026c-12.5,0-19.7,7-19.7,19.1v447.9c0,5.6,1.8,10.2,5.3,13.8c3.5,3.5,8,5.3,13.2,5.3h30
c5.9,0,10.8-1.8,14.3-5.3s5.3-8,5.3-13.2V682l2.5,2.1c13.6,11.5,28.9,21.1,45.6,28.6c38.8,17.4,84.3,19.5,125,7.8
c16.6-4.7,32.2-11.4,46.5-19.7s27.6-18.6,39.5-30.6c12.9-13.6,22.8-26.4,30.3-39.3c8.3-14.2,14.9-29.9,19.7-46.5
c9.6-33.4,9.6-69.4,0-102.8c-4.7-16.6-11.4-32.3-19.7-46.5c-8.3-14.3-18.6-27.5-30.4-39.4c-11.9-11.9-25.2-22.1-39.4-30.4
c-14.1-8.2-29.5-14.8-45.9-19.7c-40.7-11.6-86.2-9.5-125.1,7.8c-17.2,7.9-32.7,17.7-46.2,29.1l-2.5,2.1v-20.2
C2074.5,352.3,2067.7,345.5,2055.4,345.5z M2082,484.3c6.4-15,15.5-28.7,27-40.8c10.8-11.3,23.4-20.2,39.7-28.1
c29.2-14.1,66.3-14.1,95.5,0c15.2,7.3,28.3,16.8,39.1,28.1c10.8,11.3,19.7,25.1,26.5,40.8c13.2,30.8,13.2,67,0,97.7
c-6.6,15.4-15.5,29.4-26.6,41.5c-10.5,11.5-23.6,21.1-39,28.6c-29.3,14.1-66.3,14-95.6-0.1c-15.8-7.3-28.8-16.7-39.6-28.6
c-11.3-11.9-20.2-25.4-27-41.3C2069.2,550.9,2068.7,515.3,2082,484.3z" class="st1"></path>
<path d="M3161.8,359.3c0-12.3-7-19.1-19.7-19.1h-29.4c-12.3,0-19.1,6.8-19.1,19.1V574c0,13.7-2.6,25.6-8,36.4
c-5.9,11.8-12.4,20.3-20.2,26.8c-8.9,7.3-18.2,12.6-28.2,16.3c-21.6,8-50.3,8.3-70.9-3.1c-11.2-6.2-20.1-13.8-26.3-22.6
c-6.9-9-11.7-19.3-14.4-30.5c-3-12.4-4.4-23.9-4.4-34.3V365c0-7.8-1.4-13.7-4.4-18.6c-2.5-3-7.8-6.9-18.7-6.9h-21.4
c-6.7,0-12.5,2.4-17.2,7.1c-4.6,4.6-7.1,11.4-7.1,19.5v197.4c0,23.3,3.2,44.7,9.6,63.8c6.6,19.7,16.3,37.4,29,52.4
c13.8,15.7,29.2,27.2,47.2,35.1c31.2,13.6,66.8,15.5,100,9.6c9.9-2.5,18.9-5.5,26.4-9c7.9-3.6,15.4-8.6,21.8-14.3
c1.6-1.4,3.2-2.9,4.6-4.3l2.6-2.5V709c0,5.1,1.9,9.2,4.7,12c3.5,4.3,8.6,6.6,14.9,6.6h30c5.2,0,9.7-1.8,13.2-5.3s5.3-7.1,5.3-12.7
L3161.8,359.3L3161.8,359.3z" class="st1"></path>
<path d="M3856.6,432.7" class="st1"></path>
</g>
<path d="M3916.3,569.7c-6.2-13.1-14.9-24.1-26.5-33.9c-11.2-9.3-25.1-17.6-40.3-24.1c-17.4-7.4-34.2-12.1-51.2-15.9
c-8.4-1.9-17.7-4.6-25.1-7.6c-7.5-2.7-14.5-6.4-21-10.7c-8.4-5.6-16.1-13-19.5-22.9c-2.2-6.4-2.3-14.7-0.1-21.5
c2.4-7.9,12.4-29.7,51.1-32.1c36.9-2.3,55.5,17.1,61.9,25.7c0.9,1.2,10,12.9,16.5,20l0,0c1.3,1.1,2.6,2,3.9,2.7
c5.4,2.7,11.1,0.8,16.1-2.1l22.6-16.7c5.4-3.6,8.1-8.5,8-14.2l-0.1-0.6c-0.7-3.7-2.2-7.2-5.2-12.3c-8-11.1-14.8-20.1-21.6-27.4
c-7.1-8.2-14.9-15.1-24-20.9c-8.3-5.3-18.4-9.7-30-12.9c-28.6-7.9-63.4-6.1-91.4,3.5c-15.9,5.1-29.8,12.7-40.2,21.9
c-11.4,9.5-20.6,21.5-26.6,34.6c-11.7,25.8-13.4,59.6-1.2,85.5c5.8,12.8,13.5,23.3,23.5,32.2c9.8,8.6,21.6,16.5,36.2,24.1
c14.2,6.8,30.2,12.6,47.5,17.2c4.8,1.1,9.6,2.4,14.6,3.7c4.9,1.3,9.9,2.6,14.8,3.8c8.3,2,16.5,5,25.2,9.3c7,3.5,12.7,8.1,17.5,13.9
c9.3,11.3,7.7,30.6-0.7,41.8c-4.3,5.8-10.3,11.1-17.8,15.7c-7.4,4.5-16,7.2-22.6,9c-14.2,2.8-26.6,3.3-40.7,0.1
c-6.8-1.6-13.1-4.2-20.5-7.6c-6.6-3.3-13-7.6-18.1-12.2c-5.9-6.9-8.6-10.6-13.1-18.4c-1.8-3.7-4.1-7.7-7.4-10.2
c-4.9-4.9-12.4-4.2-18.4-1.9l-27.3,12.8c-2.6,1.3-4.3,2.2-6.1,4c-1.9,1.9-2.9,3.8-3.5,5.1c-1.2,2.4-1,4.2-0.7,8.4
c0.2,2.5,0.9,5.2,2.1,8.2c4.7,12.9,11,22.4,19.6,33.7c7.7,9.9,20.2,20,33.3,27.2c11.8,7.1,24.3,12,38.3,15.2
c30.6,7,63.7,6.7,93.7-3c16.6-4.7,31.9-12.5,44.3-22.4c12.8-9.7,22.7-21.9,29.6-36.4C3929.3,632.9,3929.9,598.2,3916.3,569.7z" class="st1"></path>
</g>
<g id="Layer_2_00000009548307462296926320000017336441496105104825_">
</g>
</svg>
Closing this one because it was missing <xml>
config to be read correctly, but it would be nice to have a better error explanation.