[sword-svn] r367 - trunk/webapp
scribe at crosswire.org
scribe at crosswire.org
Fri Jan 8 00:50:09 MST 2010
Author: scribe
Date: 2010-01-08 00:50:09 -0700 (Fri, 08 Jan 2010)
New Revision: 367
Modified:
trunk/webapp/parallelstudy.jsp
trunk/webapp/passagestudy.jsp
trunk/webapp/versesnippet.jsp
Log:
added encoding of key values
Modified: trunk/webapp/parallelstudy.jsp
===================================================================
--- trunk/webapp/parallelstudy.jsp 2010-01-02 23:15:58 UTC (rev 366)
+++ trunk/webapp/parallelstudy.jsp 2010-01-08 07:50:09 UTC (rev 367)
@@ -39,6 +39,7 @@
String resetKey = request.getParameter("key");
if (resetKey != null)
+ resetKey = new String(resetKey.getBytes("iso8859-1"), "UTF-8");
session.setAttribute("ActiveKey", resetKey);
String activeKey = (String) session.getAttribute("ActiveKey");
Modified: trunk/webapp/passagestudy.jsp
===================================================================
--- trunk/webapp/passagestudy.jsp 2010-01-02 23:15:58 UTC (rev 366)
+++ trunk/webapp/passagestudy.jsp 2010-01-08 07:50:09 UTC (rev 367)
@@ -14,6 +14,7 @@
String resetKey = request.getParameter("key");
if (resetKey != null)
+ resetKey = new String(resetKey.getBytes("iso8859-1"), "UTF-8");
session.setAttribute("ActiveKey", resetKey);
String activeKey = (String) session.getAttribute("ActiveKey");
if (activeKey == null)
Modified: trunk/webapp/versesnippet.jsp
===================================================================
--- trunk/webapp/versesnippet.jsp 2010-01-02 23:15:58 UTC (rev 366)
+++ trunk/webapp/versesnippet.jsp 2010-01-08 07:50:09 UTC (rev 367)
@@ -9,6 +9,7 @@
SWMgr mgr = SwordOrb.getSWMgrInstance(request);
SWModule book = null;
String ks = request.getParameter("key");
+ ks = new String(ks.getBytes("iso8859-1"), "UTF-8");
String modName = request.getParameter("mod");
if ((modName != null) && (ks != null)) {
More information about the sword-cvs
mailing list