mirror of
https://github.com/urbit/shrub.git
synced 2024-12-02 08:55:07 +03:00
don't include %mime by default, base64 when you do
so that it doesn't break the page via stray </script> tags
This commit is contained in:
parent
8d4096c56b
commit
048904fdaa
@ -42,7 +42,7 @@
|
||||
|= a/$%({$t p/cord} {$r p/json} {$j p/json} {$m mime})
|
||||
?- -.a
|
||||
$t [%s p.a]
|
||||
$m (jobe mite+[%s (moon p.a)] octs+[%s q.q.a] ~)
|
||||
$m (jobe mite+[%s (moon p.a)] octs+(jape (sifo q.q.a)) ~)
|
||||
$r p.a
|
||||
$j p.a
|
||||
==
|
||||
@ -75,7 +75,7 @@
|
||||
::
|
||||
[tree .]
|
||||
^- json
|
||||
=+ default='spur.t_mime.m_body.r_comt.j_plan.j_beak.t_meta.j_kids_meta.j_head.r'
|
||||
=+ default='spur.t_body.r_comt.j_plan.j_beak.t_meta.j_kids_meta.j_head.r'
|
||||
=+ ^= schem
|
||||
=+ seh=(fall (~(get by qix.gas) 'q') default)
|
||||
~|(bad-noun+seh ;;(schema (rash seh read-schem)))
|
||||
|
Loading…
Reference in New Issue
Block a user