2 Commits
Author SHA1 Message Date
klemek 4b007d8242 fix(handlers): positive content-length check
Python Lint CI / ruff (push) Successful in 5m33s
Python Lint CI / ruff-format-check (push) Successful in 4m44s
Python Lint CI / ty (push) Successful in 4m42s
Docker CI / docker-build (push) Successful in 6m50s
Python Test CI / coverage (push) Failing after 2m13s
2026-06-02 22:26:38 +02:00
klemek fe97828785 fix(handlers): check certbot challenge
Python Lint CI / ruff-format-check (push) Successful in 1m3s
Python Lint CI / ty (push) Successful in 1m3s
Python Lint CI / ruff (push) Successful in 1m3s
Docker CI / docker-build (push) Has been cancelled
Python Test CI / coverage (push) Has been cancelled
2026-06-02 22:25:17 +02:00
+1 -1
View File
@@ -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