fix missing template_url for pd signed templates when executed from custom path (#5644)

This commit is contained in:
Ramana Reddy
2024-09-19 18:58:20 +05:30
committed by GitHub
parent 0a536e6ce0
commit 3d2f31a56f
19 changed files with 39 additions and 24 deletions

View File

@@ -766,6 +766,7 @@ func (request *Request) MakeResultEventItem(wrapped *output.InternalWrappedEvent
TemplateID: types.ToString(wrapped.InternalEvent["template-id"]),
TemplatePath: types.ToString(wrapped.InternalEvent["template-path"]),
Info: wrapped.InternalEvent["template-info"].(model.Info),
TemplateVerifier: request.options.TemplateVerifier,
Type: types.ToString(wrapped.InternalEvent["type"]),
Host: fields.Host,
Port: fields.Port,