Merge pull request #2656 from urbit/m/url-segments

zuse: allow empty segments in de-purl url parsing
This commit is contained in:
Fang 2020-04-02 20:47:30 +02:00 committed by GitHub
commit ca4a5af4e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e6ff899cf87526cc240007d666a7ceb046335fc226da3da8da81d8791988ac1
size 1234075
oid sha256:50c17bcd19004751c4c13c62ea37a8e70d42377c36bce50318992653943ae50e
size 1234008

View File

@ -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))