fine: loosen path restrictions

This commit is contained in:
Philip Monk 2023-06-13 23:06:20 -07:00
parent 3c3f59a2ac
commit 18e34bdab6
2 changed files with 12 additions and 2 deletions

View File

@ -1365,7 +1365,9 @@
=+ len=(cut 3 [4 2] hoot)
=+ pat=(cut 3 [6 len] hoot)
~| pat=pat
[(add 6 len) [(stab pat) num]]
:- (add 6 len)
:_ num
(rash pat ;~(pfix fas (most fas (cook crip (star ;~(less fas prn))))))
::
++ sift-meow
|= =yowl

View File

@ -3569,7 +3569,15 @@
== ==
:: make the request over remote scry
::
=/ =mood [%q uv+tako path]:i.need.sat
:: TODO: switch %x -> %q as soon as practical to improve
:: performance and stop tombstoning some past files. we
:: can't do it immediately because if you request %q from
:: someone who doesn't understand it, they'll return null and
:: we'll interpret that as a tombstoned file. once most
:: sponsors and app distributors have updated, we can change
:: this to %q.
::
=/ =mood [%x uv+tako path]:i.need.sat
=< [`[%back-index -] +]
(send-over-scry %back-index hen her inx syd mood)
:: otherwise, request over ames