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