qrexec: allow ':' in call target specification

':' is used in DispVM special tags, like '$dispvm:something'.

Fixes QubesOS/qubes-issues#3137
This commit is contained in:
Marek Marczykowski-Górecki 2017-10-01 13:19:42 +02:00
parent 69d230d065
commit 54d5c7b35c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -683,7 +683,7 @@ static void handle_execute_service(void)
ENSURE_NULL_TERMINATED(untrusted_params.target_domain);
ENSURE_NULL_TERMINATED(untrusted_params.request_id.ident);
sanitize_name(untrusted_params.service_name, "+");
sanitize_name(untrusted_params.target_domain, "");
sanitize_name(untrusted_params.target_domain, ":");
sanitize_name(untrusted_params.request_id.ident, " ");
params = untrusted_params;
/* sanitize end */