You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We found a bug introduced in #326 - the problem is on line 30 in get-component.js file. There we introduced responseHeaders variable but this is in a outerer context than it should be. Because of this every invocation of render sees one and the same variable and every component inherits the headers introduced by former ones.
The fix is to move the responseHeaders variable inside renderer function.
I'm basically having the fix and am working on a regression test to validate it. Perhaps tomorrow I'll do a PR.
The text was updated successfully, but these errors were encountered:
@matteofigus
We found a bug introduced in #326 - the problem is on line 30 in get-component.js file. There we introduced responseHeaders variable but this is in a outerer context than it should be. Because of this every invocation of render sees one and the same variable and every component inherits the headers introduced by former ones.
The fix is to move the responseHeaders variable inside renderer function.
I'm basically having the fix and am working on a regression test to validate it. Perhaps tomorrow I'll do a PR.
The text was updated successfully, but these errors were encountered: