Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Also suppress 'javascript:' links.

  • Loading branch information...
commit 90435eb99ccaabda0d8373f87f75227d0c2f7a0f 1 parent 23f6321
@mworrell mworrell authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/z_html.erl
View
1  src/z_html.erl
@@ -683,6 +683,7 @@ filter_widget_class(Class) ->
noscript(Url) ->
case nows(z_convert:to_list(Url), []) of
"script:" ++ _ -> <<"#script-removed">>;
+ "javascript:" ++ _ -> <<"#script-removed">>;
_ -> Url
end.
Please sign in to comment.
Something went wrong with that request. Please try again.