Stack overflow when using attribute substitution inside apply tag #13

abf opened this Issue Dec 3, 2011 · 1 comment


None yet

2 participants

abf commented Dec 3, 2011

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:


<content />


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

And the output when requesting attrsubtest2.tpl is:

A web handler threw an exception. Details:
stack overflow
Snap Framework member

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

@mightybyte mightybyte closed this Dec 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment