|
From: <de...@de...> - 2009-02-23 02:55:06
|
Author: PeterThoeny Date: 2009-02-22 20:55:02 -0600 (Sun, 22 Feb 2009) New Revision: 17835 Trac url: http://develop.twiki.org/trac/changeset/17835 Modified: twiki/branches/TWikiRelease04x02/templates/viewtopicactionbuttons.tmpl Log: Item6186: Fix for XSS issue in QUERYPARAMS (thanks MarcSchoenefeld and SteveMilner of Red Hat) Modified: twiki/branches/TWikiRelease04x02/templates/viewtopicactionbuttons.tmpl =================================================================== --- twiki/branches/TWikiRelease04x02/templates/viewtopicactionbuttons.tmpl 2009-02-23 02:53:34 UTC (rev 17834) +++ twiki/branches/TWikiRelease04x02/templates/viewtopicactionbuttons.tmpl 2009-02-23 02:55:02 UTC (rev 17835) @@ -18,7 +18,7 @@ %TMPL:DEF{"action_printable"}%%TMPL:P{"printable"}%%TMPL:P{"sep"}%%TMPL:END% -%TMPL:DEF{"printable"}%<span><a href='%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?cover=print%QUERYPARAMSTRING%%REVARG%' rel='nofollow' %MAKETEXT{"title='Printable version of this topic' accesskey='p'>&Print version"}%</a></span>%TMPL:END% +%TMPL:DEF{"printable"}%<span><a href='%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?cover=print%QUERYPARAMSTRING{ encoding="url" }%%REVARG%' rel='nofollow' %MAKETEXT{"title='Printable version of this topic' accesskey='p'>&Print version"}%</a></span>%TMPL:END% %TMPL:DEF{"activatable_printable"}%%TMPL:P{"printable"}%%TMPL:END% @@ -107,4 +107,4 @@ %TMPL:DEF{"action_revisions"}%%TMPL:P{"revisions"}%%TMPL:P{"sep"}%%TMPL:END% -%TMPL:DEF{"revisions"}%<span>%TMPL:P{context="HistoryPluginEnabled" then="history_history" else="history_rdiff"}%: %TMPL:P{context="CompareRevisionsAddonPluginEnabled" then="revisions_compare" else="revisions_rdiff"}%</span>%TMPL:END% \ No newline at end of file +%TMPL:DEF{"revisions"}%<span>%TMPL:P{context="HistoryPluginEnabled" then="history_history" else="history_rdiff"}%: %TMPL:P{context="CompareRevisionsAddonPluginEnabled" then="revisions_compare" else="revisions_rdiff"}%</span>%TMPL:END% |