You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2021/06/21 14:54:11 UTC

[GitHub] [qpid-dispatch] astitcher commented on a change in pull request #1268: DISPATCH-2179: Set SSLDomain.ANONYMOUS_PEER wherever necessary. Also …

astitcher commented on a change in pull request #1268:
URL: https://github.com/apache/qpid-dispatch/pull/1268#discussion_r655449905



##########
File path: python/qpid_dispatch_internal/tools/command.py
##########
@@ -261,9 +261,8 @@ def opts_url(opts):
     url = Url(opts.bus)
 
     # If the options indicate SSL, make sure we use the amqps scheme.
-    if opts.ssl_certificate or opts.ssl_trustfile:
+    if opts.ssl_certificate or opts.ssl_trustfile or opts.bus.startswith("amqps"):

Review comment:
       This looks wrong shouldn't it be ...startswith("amqps:")? Otherwise what happens if you connect to amqps.com?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org