Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Stack overflow when using attribute substitution inside apply tag #13

Closed
abf opened this Issue · 1 comment

2 participants

abf Doug Beardsley
abf
abf commented

Using an attribute substitution in an apply tag leads to a stack overflow in the latest version of snap / heist.
Two Heist templates which produce the issue are:

attrsubtest1.tpl:

<content />

attrsubtest2.tpl:

<bind tag="test">asdf</bind>
<apply template="attrsubtest1">
    <a href="${test}">link</a>
</apply>

And the output when requesting attrsubtest2.tpl is:

A web handler threw an exception. Details:
stack overflow
Doug Beardsley
Owner

I fixed this issue and released the fix as 0.7.0.1 on Hackage. Thanks for the bug report!

Doug Beardsley mightybyte closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.