Skip to content

Commit

Permalink
Allow equal sign and coma in feature requests
Browse files Browse the repository at this point in the history
It is necessary for boot mode feature, as a common characters in
kernelopts.

QubesOS/qubes-issues#9750
  • Loading branch information
marmarek committed Mar 2, 2025
1 parent 9a89893 commit 60ed744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/api/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def qubes_features_request(self):
for key in keys
}

safe_set = string.ascii_letters + string.digits + "-._ "
safe_set = string.ascii_letters + string.digits + "-.,_= "
for untrusted_key in untrusted_features:
untrusted_value = untrusted_features[untrusted_key]
self.enforce(all((c in safe_set) for c in untrusted_value))
Expand Down

0 comments on commit 60ed744

Please sign in to comment.