Commit Diff
--- yah2g.py +++ yah2g.py @@ -107,7 +107,7 @@ class _RequestHandler(BaseHTTPRequestHandler): return try: - for _ in range(32): + for _ in range(6): # first request + 5 consecutive redirects parsed = urlparse(url) if parsed.scheme != "gemini": self.send_error(HTTPStatus.BAD_REQUEST, "Only gemini:// URLs are supported")