This is an automated email from the ASF dual-hosted git repository.

wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 682d99b8 pubsub url is https only closes #685
682d99b8 is described below

commit 682d99b80eac7790e7ceb24c04ef91d11326e049
Author: Dave Fisher <[email protected]>
AuthorDate: Thu Feb 19 10:39:04 2026 -0800

    pubsub url is https only closes #685
---
 atr/svn/pubsub.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/atr/svn/pubsub.py b/atr/svn/pubsub.py
index 340e0fac..0950901b 100644
--- a/atr/svn/pubsub.py
+++ b/atr/svn/pubsub.py
@@ -65,9 +65,9 @@ class SVNListener:
             log.warning("SVNListener disabled: missing credentials")
             return
 
-        if not self.url.startswith(("http://";, "https://";)):
+        if not self.url.startswith("https://";):
             log.error(
-                f"Invalid PubSub URL: {self.url!r}. Expected full URL like 
'https://pubsub.apache.org:2069'",
+                f"PubSub URL must use HTTPS protocol: {self.url!r}. Example: 
'https://pubsub.apache.org:2069'",
             )
             log.warning("SVNListener disabled due to invalid URL")
             return


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to