Skip to content

Commit 1b67502

Browse files
authored
Merge pull request #348 from w3bdesign/develop
Fix https security hotspots in SVG
2 parents 231578b + 065101e commit 1b67502

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

components/Cart/Cart.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Cart = () => {
2323
>
2424
<svg
2525
className="fill-current"
26-
xmlns="http://www.w3.org/2000/svg"
26+
xmlns="https://www.w3.org/2000/svg"
2727
width="55"
2828
height="55"
2929
viewBox="0 0 30 30"

components/Header/Hamburger.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const Hamburger = () => {
6262
setisExpanded(prevExpanded => !prevExpanded);
6363
}}
6464
className="text-gray-900 fill-current"
65-
xmlns="http://www.w3.org/2000/svg"
65+
xmlns="https://www.w3.org/2000/svg"
6666
width="20"
6767
height="20"
6868
viewBox="0 0 20 20"
@@ -76,7 +76,7 @@ const Hamburger = () => {
7676
setisExpanded(prevExpanded => !prevExpanded);
7777
}}
7878
style={showXHideHamburgerAnimation}
79-
xmlns="http://www.w3.org/2000/svg"
79+
xmlns="https://www.w3.org/2000/svg"
8080
width="20"
8181
height="20"
8282
viewBox="0 0 20 20"

components/Header/Navbar.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const Navbar = () => {
4141
<a className="flex items-center text-xl font-bold tracking-wide text-gray-800 no-underline hover:no-underline ">
4242
<svg
4343
className="mr-2 text-gray-800 fill-current"
44-
xmlns="http://www.w3.org/2000/svg"
44+
xmlns="https://www.w3.org/2000/svg"
4545
width="24"
4646
height="24"
4747
viewBox="0 0 24 24"

components/SVG/SVGCloseX.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const SVGCloseX = ({ setisExpanded }) => {
77
<svg
88
width="80px"
99
height="80px"
10-
xmlns="http://www.w3.org/2000/svg"
10+
xmlns="https://www.w3.org/2000/svg"
1111
viewBox="0 0 234.6 45.47"
1212
onClick={() => {
1313
setisExpanded(false);

components/SVG/SVGMobileSearchIcon.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const SVGMobileSearchIcon = () => {
3333
setisExpanded(!isExpanded);
3434
}}
3535
fill="#000000"
36-
xmlns="http://www.w3.org/2000/svg"
36+
xmlns="https://www.w3.org/2000/svg"
3737
viewBox="0 0 50 50"
3838
width="20px"
3939
height="20px"

components/SVG/SVGX.component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const SVGX = ({ cartKey, products, handleRemoveProductClick }) => {
77
<>
88
<svg
99
id="xsvg"
10-
xmlns="http://www.w3.org/2000/svg"
10+
xmlns="https://www.w3.org/2000/svg"
1111
width="20"
1212
height="20"
1313
viewBox="0 0 20 20"

0 commit comments

Comments
 (0)