mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
fine: loosen path restrictions
This commit is contained in:
parent
3c3f59a2ac
commit
18e34bdab6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user