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
I am having this issue as well. Rack-mini-profiler is injecting itself into the page twice instead of once and the second script tag is escaped. It's around the length-hiding call because the mini-profiler scripts (the first one is an actual function script tag, the second is an escaped string that shows up on the web page) have the "This is a random-length HTML comment: ..." between them.
@jonuhal Exactly what I'm seeing. I think this might be a bug in Rack-mini-profiler; it tries to inject itself in every chunk of the Rack response, and since the length-hider adds a second chunk to the response, the JS shows up twice.
When using this in conjunction with rack-mini-profiler (and potentially other gems that modify response bodies) there's an escaping issue.
The text was updated successfully, but these errors were encountered: