
| Key: |
LPP-5277
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
P0
|
| Assignee: |
Unassigned
|
| Reporter: |
Zvi Schreiber
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Severity: |
Minor
|
| Fixed in Change#: |
7,776
|
| Runtime: |
N/A
|
| Fix in hand: |
False
|
|
SWF: LzBrowser.urlUnescape('a+b') == 'a b'
DHTML: LzBrowser.urlUnescape('a+b') == 'a+b'
|
|
Description
|
SWF: LzBrowser.urlUnescape('a+b') == 'a b'
DHTML: LzBrowser.urlUnescape('a+b') == 'a+b' |
Show » |
|
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 maxcarlson@Roboto.lan 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 environmentTechnical Reviewer: ptw
QA Reviewer: promanik
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Convert + to ' ' before unescaping strings.
Tests: See
LPP-5277Modified: 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
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins