ruricolist / spinneret

Common Lisp HTML5 generator
MIT License
369 stars 26 forks source link

Infinite loop when given a #p"pathname" #35

Closed Zulu-Inuoe closed 5 years ago

Zulu-Inuoe commented 5 years ago

Using a literal pathname gets Spinneret in an infinite loop of trying to expand its value (see spinneret::catch-output)

test case:

(with-html-string
  (:html
   (:head
    (:link #p"styles.css" :type "text/css"))))

I'd expect this to error instead, if pathnames are not supported.

Thanks!

ruricolist commented 5 years ago

Thanks for reporting this. Pathnames should definitely be supported. I'm not at a computer today but I'll fix it as soon as I can.

On Tue, Aug 20, 2019, 10:03 AM Wilfredo Velázquez-Rodríguez < notifications@github.com> wrote:

Using a literal pathname gets Spinneret in an infinite loop of trying to expand its value (see spinneret::catch-output)

test case:

(with-html-string (:html (:head (:link #p"styles.css" :type "text/css"))))

I'd expect this to error instead, if pathnames are not supported.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ruricolist/spinneret/issues/35?email_source=notifications&email_token=AAC7AKGNLUKA5BN3BGXLI5TQFQBTHA5CNFSM4INYJOVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGIXPXQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC7AKBYNF6NPFCSKEZ4VU3QFQBTHANCNFSM4INYJOVA .