mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
Merge pull request #2656 from urbit/m/url-segments
zuse: allow empty segments in de-purl url parsing
This commit is contained in:
commit
ca4a5af4e3
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e6ff899cf87526cc240007d666a7ceb046335fc226da3da8da81d8791988ac1
|
||||
size 1234075
|
||||
oid sha256:50c17bcd19004751c4c13c62ea37a8e70d42377c36bce50318992653943ae50e
|
||||
size 1234008
|
||||
|
@ -6643,7 +6643,7 @@
|
||||
:: :: ++apat:de-purl:html
|
||||
++ apat :: 2396 abs_path
|
||||
%+ cook deft
|
||||
(ifix [net ;~(pose net (easy ~))] (more net smeg))
|
||||
;~(pfix net (more net smeg))
|
||||
:: :: ++aurf:de-purl:html
|
||||
++ aurf :: 2396 with fragment
|
||||
%+ cook |~(a/purf a)
|
||||
@ -6727,7 +6727,7 @@
|
||||
;~(plug alf (star ;~(pose aln lus hep dot)))
|
||||
:: :: ++smeg:de-purl:html
|
||||
++ smeg :: 2396 segment
|
||||
(cook crip (plus pcar))
|
||||
(cook crip (star pcar))
|
||||
:: :: ++tock:de-purl:html
|
||||
++ tock :: 6265 raw value
|
||||
(cook crip (plus pcok))
|
||||
|
Loading…
Reference in New Issue
Block a user