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:
Anton Dyudin 2016-05-10 11:05:32 -07:00
parent 8d4096c56b
commit 048904fdaa

View File

@ -42,7 +42,7 @@
|= a/$%({$t p/cord} {$r p/json} {$j p/json} {$m mime}) |= a/$%({$t p/cord} {$r p/json} {$j p/json} {$m mime})
?- -.a ?- -.a
$t [%s p.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 $r p.a
$j p.a $j p.a
== ==
@ -75,7 +75,7 @@
:: ::
[tree .] [tree .]
^- json ^- 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 =+ ^= schem
=+ seh=(fall (~(get by qix.gas) 'q') default) =+ seh=(fall (~(get by qix.gas) 'q') default)
~|(bad-noun+seh ;;(schema (rash seh read-schem))) ~|(bad-noun+seh ;;(schema (rash seh read-schem)))