Hi Thorsten,

> it's actually extremely easy to embed content in a picolisp wiki file, when
> adding the syntax element from the PS 1 to wiki/lib.l :
> §{ <iframe width= ....></iframe>}
> ...
> Would you consider to add something like this in wiki/lib.l ?

Yes, sounds like a good idea :)


> or better a check like this, then if the §{content} does not start with
> <iframe, it is simply printed as text:
> 
>   ("§"  # > iframe
>      (let Lnk (till "}" T)
>         (if (= "<iframe" (pack (car (split (chop Lnk) " "))))
>            (prin Lnk)
>            (ht:Prin Lnk) ) ) )

Thanks!!

I simplified this a little to:

   ("§"  # iframe
      (let Lnk (till "}" T)
         ((if (pre? "<iframe " Lnk) prin ht:Prin) Lnk) ) )

Is this all right?

Or do we have to be aware of other security issues? What if the body of the
iframe contains malicious code?

Otherwise I'd be ready to release it.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to