Stack overflow when using attribute substitution inside apply tag #13

Closed
abf opened this Issue Dec 3, 2011 · 1 comment

Projects

None yet

2 participants

@abf
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:

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
@mightybyte
Member

I fixed this issue and released the fix as 0.7.0.1 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