Skip to content

Commit

Permalink
Usa defusedxml per prevenire vulnerabilita' nel parsing XML; closes #43
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualdj committed May 7, 2024
1 parent 2662a1f commit 26433b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/pun_sensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from statistics import mean
import zipfile, io
from bs4 import BeautifulSoup
import xml.etree.ElementTree as et
import defusedxml.ElementTree as et
from typing import Tuple
from functools import partial

Expand Down

0 comments on commit 26433b7

Please sign in to comment.