Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2a656a839 | ||
|
|
b234504b49 |
+1
-1
@@ -558,7 +558,7 @@ class RequestHandler(http.server.SimpleHTTPRequestHandler, BaseHandler):
|
|||||||
|
|
||||||
def _is_certbot_challenge(self, path: str) -> bool:
|
def _is_certbot_challenge(self, path: str) -> bool:
|
||||||
return path.startswith(self.CERTBOT_CHALLENGE_PATH) and pathlib.Path(
|
return path.startswith(self.CERTBOT_CHALLENGE_PATH) and pathlib.Path(
|
||||||
path
|
self.certbot_www + path
|
||||||
).resolve().is_relative_to(self.certbot_www)
|
).resolve().is_relative_to(self.certbot_www)
|
||||||
|
|
||||||
@typing.override
|
@typing.override
|
||||||
|
|||||||
Reference in New Issue
Block a user