-make-glob: url encode clay built globs

This isn't supposed to work, but the check in the runtime is faulty. We
fix it here for backwards compatiblity.
This commit is contained in:
Liam Fitzgerald 2023-12-06 14:59:52 -05:00
parent 3c0961007f
commit 312b06a0e2

View File

@ -14,7 +14,12 @@
%+ turn paths
|= pax=path
^- [path mime]
:- (slag (lent dir) pax)
:-
?> ?=(^ pax)
%+ turn t.pax
|= seg=@t
^- @t
(crip (en-urlt:html (trip seg)))
=/ mar=mark (rear pax)
=+ .^(vas=vase %cr (weld home pax))
=+ .^(=tube:clay %cc (weld home /[mar]/mime))