You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by rk...@apache.org on 2023/10/19 17:04:29 UTC

[incubator-sdap-nexus] 01/01: Ensure job status links are https

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

rkk pushed a commit to branch RKuttruff-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git

commit e498ea67a5d5d8400c207c192f3642751f014f15
Author: Riley Kuttruff <72...@users.noreply.github.com>
AuthorDate: Thu Oct 19 10:04:24 2023 -0700

    Ensure job status links are https
---
 analysis/webservice/algorithms/doms/ExecutionStatus.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/analysis/webservice/algorithms/doms/ExecutionStatus.py b/analysis/webservice/algorithms/doms/ExecutionStatus.py
index 1bae455..d21ab44 100644
--- a/analysis/webservice/algorithms/doms/ExecutionStatus.py
+++ b/analysis/webservice/algorithms/doms/ExecutionStatus.py
@@ -54,7 +54,7 @@ class ExecutionStatusHandler(BaseDomsHandler.BaseDomsQueryCalcHandler):
                 )
 
         job_status = NexusExecutionResults.ExecutionStatus(execution_details['status'])
-        host = f'{request.requestHandler.request.protocol}://{request.requestHandler.request.host}'
+        host = f'https://{request.requestHandler.request.host}'
 
         return NexusExecutionResults.NexusExecutionResults(
             status=job_status,