mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-20 07:36:29 +00:00
Don't allow add-on to update itself (#733)
This commit is contained in:
parent
dccc652d42
commit
36cdb05387
@ -32,7 +32,7 @@ NO_SECURITY_CHECK = re.compile(
|
||||
# Can called by every add-on
|
||||
ADDONS_API_BYPASS = re.compile(
|
||||
r"^(?:"
|
||||
r"|/addons/self/(?!security)[^/]+"
|
||||
r"|/addons/self/(?!security|update)[^/]+"
|
||||
r"|/version"
|
||||
r"|/services.*"
|
||||
r"|/discovery.*"
|
||||
|
Loading…
x
Reference in New Issue
Block a user