View Issue Details

IDProjectCategoryView StatusLast Update
0000470fileGeneralpublic2023-08-05 14:35
Reportergadelat Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.41 
Fixed in VersionHEAD 
Summary0000470: text/xml detected instead of image/svg+xml
DescriptionFollowing file
<?xml version="1.0" encoding="utf-16"?>
<!-- Generator: Adobe Illustrator 27.6.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     viewBox="0 0 2553.6 940.6" style="enable-background:new 0 0 2553.6 940.6;" xml:space="preserve">
<style type="text/css">
    .st0{fill:#0076BD;}
</style>
<g>
    <path class="st0" d="M2372.4,727.1l-15.1-26.6h-12.6v26.6h-5.6V666h17c11,0,19.2,5.5,19.2,16.6c0,10.6-5.8,15.6-12.2,17.1l16,27.4
        H2372.4 M2355.1,670.9h-10.5v24.8h10.7c8.3,0,14.1-4.3,14.1-13.1C2369.5,674.8,2362.9,670.9,2355.1,670.9"/>
    <path class="st0" d="M2308.6,697.7c0,25,20.5,45.4,45.5,45.4c24.8,0,45.3-20.4,45.3-45.4c0-25-20.5-45.3-45.3-45.3
        C2329.1,652.4,2308.6,672.7,2308.6,697.7 M2312.6,697.7c0-22.9,18.5-41.5,41.6-41.5c22.6,0,41.3,18.6,41.3,41.5
        c0,22.9-18.7,41.5-41.3,41.5C2331.1,739.2,2312.6,720.6,2312.6,697.7"/>
    <path class="st0" d="M255.7,469.2c0-188.4,153.3-342.1,342.4-342.1c102.7,0,195.2,46.5,258,118l-219.5,0c-27,0-56.9,18.7-71.1,33.3
        c-14.1,14.7-152.8,153.2-170.8,170.2c-18,16.9-31.2,20.7-54.8,20.7L255.7,469.2 M406.1,567.2c23.6,0,36.8-2.7,54.8-19.7
        c18-16.9,156-154.3,170.6-170.1c13.9-15,44.3-33.8,71.3-33.8h213.9c-9.7-24.3-22.4-47.4-37-68.5l-163.3-0.1
        c-23.8,0-45.5,12.3-58.4,24.9c-13.4,12.9-155.3,154.4-168.9,168.6c0,0-24.3,31-72.3,31l-159.9,0c2.2,23.6,6.8,45.7,13.4,67.7
        L406.1,567.2z M479.6,666.5c23.6,0,36.7-3.6,54.7-20.7c20.9-19.8,154.3-156,170.6-173.5c13.9-14.9,44.1-33.3,71.3-33.3l163,0
        c-1.7-24-6.1-43.8-12.6-66.1l-136.3,0c-23.9,0-46.7,12.7-59.9,24.9c-15.3,14.1-154.3,154-168.4,167.9c0,0-23.3,31.1-71.3,31.1
        l-210.5,0c10,24.8,23.1,48.1,38.5,69.7L479.6,666.5z M342.5,696.2c62.5,70,153.8,114.9,255.5,114.9
        c187.9,0,340.5-155.2,342.2-342.1l-83.7-0.1c-23.9,0-47.5,11.9-59.9,24.9C784,506.8,642.9,652,629.5,665.1c0,0-25.3,31.1-73.3,31.1
        L342.5,696.2z M1405.8,509.7c-12.7-21.1-28.7-53.5-101-71.9c-75.9-19.2-106.3-26.6-126.8-31.1c-20.2-4.5-53.1-15.3-53.1-59.1
        c0-40.1,39.9-61.3,82-61.3c40.6,0,94.2,17.3,102.7,80.2h96.1V509.7z M1912.2,218.8h-162.1l-91.3,352.1l-91.2-352.1h-161.9V332
        c-49.4-130.9-158.4-136.1-191.6-136.1c-141.6,0-192.5,88.6-192.5,153.8c0,104.7,86.6,136.8,110.2,142.8
        c20.5,5.2,123.1,29.7,143.3,35.8c24.8,7.5,44.5,29,44.5,55.8c0,25.3-19.7,67.5-94.4,67.5c-74.5,0-110-40.7-116.1-89.7h-100
        c0,0-3.9,180.9,222.2,180.9c96.6,0,147.5-40.4,174.2-83.1v64.2h101l-4.1-379.1l104.9,379.1h102.7l104.9-379.1l-3.9,379.1h101V630
        c22.9,46.8,76.4,113.1,191.5,113.1c129.9,0,194.7-80.6,205.9-182h-97.1c-6.8,49.4-50.9,88.9-108.3,88.9
        c-15.8,0-129.2-8.6-129.2-181.6c0-119.1,61.1-186.9,129-186.9c21.4,0,93,9,102.7,93.9h96.1c-7.5-121.7-107.3-179.9-198.8-179.9
        c-107.8,0-167.7,56.4-191.8,102.6V218.8z"/>
</g>
</svg>



returns text/xml
Steps To Reproduce❯ file --mime-type Logo_SMC.svg
Logo_SMC.svg: text/xml
TagsNo tags attached.

Activities

gadelat

2023-08-04 14:26

reporter  

Logo_SMC.svg (5,564 bytes)   
��<?xml version="1.0" encoding="utf-16"?>
<!-- Generator: Adobe Illustrator 27.6.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 2553.6 940.6" style="enable-background:new 0 0 2553.6 940.6;" xml:space="preserve">
<style type="text/css">
	.st0{fill:#0076BD;}
</style>
<g>
	<path class="st0" d="M2372.4,727.1l-15.1-26.6h-12.6v26.6h-5.6V666h17c11,0,19.2,5.5,19.2,16.6c0,10.6-5.8,15.6-12.2,17.1l16,27.4
		H2372.4 M2355.1,670.9h-10.5v24.8h10.7c8.3,0,14.1-4.3,14.1-13.1C2369.5,674.8,2362.9,670.9,2355.1,670.9"/>
	<path class="st0" d="M2308.6,697.7c0,25,20.5,45.4,45.5,45.4c24.8,0,45.3-20.4,45.3-45.4c0-25-20.5-45.3-45.3-45.3
		C2329.1,652.4,2308.6,672.7,2308.6,697.7 M2312.6,697.7c0-22.9,18.5-41.5,41.6-41.5c22.6,0,41.3,18.6,41.3,41.5
		c0,22.9-18.7,41.5-41.3,41.5C2331.1,739.2,2312.6,720.6,2312.6,697.7"/>
	<path class="st0" d="M255.7,469.2c0-188.4,153.3-342.1,342.4-342.1c102.7,0,195.2,46.5,258,118l-219.5,0c-27,0-56.9,18.7-71.1,33.3
		c-14.1,14.7-152.8,153.2-170.8,170.2c-18,16.9-31.2,20.7-54.8,20.7L255.7,469.2 M406.1,567.2c23.6,0,36.8-2.7,54.8-19.7
		c18-16.9,156-154.3,170.6-170.1c13.9-15,44.3-33.8,71.3-33.8h213.9c-9.7-24.3-22.4-47.4-37-68.5l-163.3-0.1
		c-23.8,0-45.5,12.3-58.4,24.9c-13.4,12.9-155.3,154.4-168.9,168.6c0,0-24.3,31-72.3,31l-159.9,0c2.2,23.6,6.8,45.7,13.4,67.7
		L406.1,567.2z M479.6,666.5c23.6,0,36.7-3.6,54.7-20.7c20.9-19.8,154.3-156,170.6-173.5c13.9-14.9,44.1-33.3,71.3-33.3l163,0
		c-1.7-24-6.1-43.8-12.6-66.1l-136.3,0c-23.9,0-46.7,12.7-59.9,24.9c-15.3,14.1-154.3,154-168.4,167.9c0,0-23.3,31.1-71.3,31.1
		l-210.5,0c10,24.8,23.1,48.1,38.5,69.7L479.6,666.5z M342.5,696.2c62.5,70,153.8,114.9,255.5,114.9
		c187.9,0,340.5-155.2,342.2-342.1l-83.7-0.1c-23.9,0-47.5,11.9-59.9,24.9C784,506.8,642.9,652,629.5,665.1c0,0-25.3,31.1-73.3,31.1
		L342.5,696.2z M1405.8,509.7c-12.7-21.1-28.7-53.5-101-71.9c-75.9-19.2-106.3-26.6-126.8-31.1c-20.2-4.5-53.1-15.3-53.1-59.1
		c0-40.1,39.9-61.3,82-61.3c40.6,0,94.2,17.3,102.7,80.2h96.1V509.7z M1912.2,218.8h-162.1l-91.3,352.1l-91.2-352.1h-161.9V332
		c-49.4-130.9-158.4-136.1-191.6-136.1c-141.6,0-192.5,88.6-192.5,153.8c0,104.7,86.6,136.8,110.2,142.8
		c20.5,5.2,123.1,29.7,143.3,35.8c24.8,7.5,44.5,29,44.5,55.8c0,25.3-19.7,67.5-94.4,67.5c-74.5,0-110-40.7-116.1-89.7h-100
		c0,0-3.9,180.9,222.2,180.9c96.6,0,147.5-40.4,174.2-83.1v64.2h101l-4.1-379.1l104.9,379.1h102.7l104.9-379.1l-3.9,379.1h101V630
		c22.9,46.8,76.4,113.1,191.5,113.1c129.9,0,194.7-80.6,205.9-182h-97.1c-6.8,49.4-50.9,88.9-108.3,88.9
		c-15.8,0-129.2-8.6-129.2-181.6c0-119.1,61.1-186.9,129-186.9c21.4,0,93,9,102.7,93.9h96.1c-7.5-121.7-107.3-179.9-198.8-179.9
		c-107.8,0-167.7,56.4-191.8,102.6V218.8z"/>
</g>
</svg>
Logo_SMC.svg (5,564 bytes)   

gadelat

2023-08-04 15:01

reporter   ~0003970

5.44 also affected

christos

2023-08-05 14:35

manager   ~0003971

The SVG magic was not matching text only checks and needed bumping its strength.

Issue History

Date Modified Username Field Change
2023-08-04 14:26 gadelat New Issue
2023-08-04 14:26 gadelat File Added: Logo_SMC.svg
2023-08-04 15:01 gadelat Note Added: 0003970
2023-08-05 14:34 christos Assigned To => christos
2023-08-05 14:34 christos Status new => assigned
2023-08-05 14:35 christos Status assigned => resolved
2023-08-05 14:35 christos Resolution open => fixed
2023-08-05 14:35 christos Fixed in Version => HEAD
2023-08-05 14:35 christos Note Added: 0003971