Author: max
Date: 2008-01-08 18:59:23 -0800 (Tue, 08 Jan 2008)
New Revision: 7776

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/services/platform/dhtml/LzBrowser.js
Log:
Change 20080106-maxcarlson-I by [EMAIL PROTECTED] on 2008-01-06 22:14:21 PST
    in /Users/maxcarlson/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix URI-unescaping in DHTML to convert + to spaces 

New Features:

Bugs Fixed: LPP-5277 - LzBrowser.urlUnescape does not unescape + chars on DHTML 
environment

Technical Reviewer: ptw
QA Reviewer: promanik
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Convert + to ' ' before unescaping strings. 
    

Tests: See LPP-5277



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/services/platform/dhtml/LzBrowser.js
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/services/platform/dhtml/LzBrowser.js       
2008-01-09 00:14:09 UTC (rev 7775)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/services/platform/dhtml/LzBrowser.js       
2008-01-09 02:59:23 UTC (rev 7776)
@@ -1,6 +1,6 @@
 /**
   *
-  * @copyright Copyright 2001-2007 Laszlo Systems, Inc.  All Rights Reserved.
+  * @copyright Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.
   *            Use is subject to license terms.
   *
   * @affects lzbrowser
@@ -264,7 +264,7 @@
   * @return: An URL decoded string
   */
 LzBrowser.urlUnescape = function (str) {
-    return unescape( str );
+    return unescape( str.split('+').join(' ') );
 }
 
 


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to