diff options
author | Byron Jones <bjones@mozilla.com> | 2013-09-18 16:39:10 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-09-18 16:39:10 +0200 |
commit | 7b756e036dfdf54368d5e7e18dd1cefd53724c12 (patch) | |
tree | dbe2337c83f19cdcc03114bd67c67c6003d3511c /extensions/InlineHistory/template/en/default/hook | |
parent | 710050aa3be5fb6c65d495b54837883298ef743d (diff) | |
download | bugzilla-7b756e036dfdf54368d5e7e18dd1cefd53724c12.tar.gz bugzilla-7b756e036dfdf54368d5e7e18dd1cefd53724c12.tar.xz |
Bug 804990: very long data urls break inline history
Diffstat (limited to 'extensions/InlineHistory/template/en/default/hook')
-rw-r--r-- | extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl index 6debea594..079af95f0 100644 --- a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl +++ b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl @@ -137,7 +137,7 @@ [%~%]<a href="[% value FILTER html FILTER js %]" target="_blank" [%~ ' onclick="return inline_history.confirmUnsafeUrl(this.href)"' UNLESS is_safe_url(value) %]> - [%~%][% value FILTER html FILTER js %]</a> + [%~%][% value FILTER ih_short_value FILTER html FILTER js %]</a> [% ELSIF change.fieldname == 'see_also' %] [% FOREACH see_also = value.split(', ') %] [%~%]<a href="[% see_also FILTER html FILTER js %]" target="_blank"> @@ -151,7 +151,7 @@ change.fieldname == 'flagtypes.name' %] [% value FILTER email FILTER js %] [% ELSE %] - [% value FILTER html FILTER js %] + [% value FILTER ih_short_value FILTER html FILTER js %] [% END %] [%~ %]'; [% END %] |