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
Adding the following snippet to a Seaside render method breaks the generated html because the closing script tag in the jQuery append expression is not properly escaped.
html anchor script:
((html jQuery this closest: 'div') append: [ :r |
r div script: (html jQuery this
on: 'click'
selector: '.class'
do: (JSStream on: 'alert(''nested script''')) ])
Adding the following snippet to a Seaside render method breaks the generated html because the closing script tag in the jQuery append expression is not properly escaped.
In Seaside 3.0, the method https://github.com/SeasideSt/Seaside/blob/61f25aa0e8b820cf1e3d554ef8bcceb12e307233/Javascript-Core.package/JSStream.class/class/encodeString.on..st used to contain code that escapes closing of nested tags:
#726, the commit comment that removed this from Seaside 3.0 code mentions:
The text was updated successfully, but these errors were encountered: