Skip to content

Commit

Permalink
fix wrong link returned from SHL Server (must be secure)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Feb 27, 2025
1 parent 1df6d2f commit 14e9f8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Change Notes:

*
* fix wrong link returned from SHL Server (must be secure)

## Conformance Notes:

*
* tx.fhir.org passed all 304 HL7 terminology service tests (mode 'tx.fhir.org', tests v1.7.5, runner v6.5.10)
2 changes: 1 addition & 1 deletion server/endpoint_shl.pas
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function TSHLWebServer.processCreate(request: TIdHTTPRequestInfo; response: TIdH
try
resp.str['uuid'] := NewGuidId;
resp.str['pword'] := NewGuidId;
resp.str['link'] := 'http://'+common.host+PathWithSlash+resp.str['uuid'];
resp.str['link'] := 'https://'+common.host+PathWithSlash+resp.str['uuid'];

c.SQL := 'Insert into SHL (uuid, pword, expiry, mimetype) values (:u, :p, :e, :m)';
c.prepare;
Expand Down

0 comments on commit 14e9f8f

Please sign in to comment.