Skip to content

Commit

Permalink
LPS-27282 - Escape chartId param in currency converter portlet
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeychev committed May 14, 2012
1 parent bfc88b1 commit 1274fbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ com.liferay.portlet.currencyconverter.model.Currency currency = CurrencyUtil.get
double number = ParamUtil.getDouble(request, "number", 1.0);
String chartId = ParamUtil.getString(request, "chartId", "3m");
String chartId = HtmlUtil.escape(ParamUtil.getString(request, "chartId", "3m"));
NumberFormat decimalFormat = NumberFormat.getNumberInstance(locale);
Expand Down

0 comments on commit 1274fbe

Please sign in to comment.