Skip to content
This repository

Stack overflow when using attribute substitution inside apply tag #13

Closed
abf opened this Issue December 02, 2011 · 1 comment

2 participants

abf Doug Beardsley
abf

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 December 06, 2011
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.