naive: validate proxy in from is one of proxy:naive

This commit is contained in:
yosoyubik 2021-05-06 08:14:04 +02:00
parent 00334d582e
commit c150da0372

View File

@ -57,13 +57,13 @@
::
++ from
|= params=(map @t json)
^- (unit [ship @t])
^- (unit [ship proxy:naive])
?~ from=(~(get by params) 'from') ~
=, dejs-soft:format
%. u.from
%- ot
:~ ['ship' (su ;~(pfix sig fed:ag))]
['proxy' so]
['proxy' (cu proxy:naive so)]
==
--
::