[Laszlo-dev] For Review: Change 20090105-hqm-R Summary: fix url encoding problem
P T Withington
ptw at laszlosystems.com
Mon Jan 5 19:58:01 PST 2009
I don't think we should be calling lz.Browser from
LzBootstrapDebugService. That needs to work very early on, e.g., for
catching bugs when you don't even have a console by logging to the
server. And for that purpose, I think the runtime version should
suffice. If not, then we need to move the implementation to LzRuntime
so it can be called directly without depending on lz.Browser being
there.
On 2009-01-05, at 21:43EST, Henry Minsky wrote:
> Change 20090105-hqm-R by hqm at badtzmaru.home on 2009-01-05 19:40:54 EST
> in /Users/hqm/openlaszlo/trunk3/WEB-INF/lps/lfc
> for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
>
> Summary: fix url encoding problem
>
> New Features:
>
> Bugs Fixed: LPP-7532
>
> Technical Reviewer: andre
> QA Reviewer: ptw
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> The recommended way to url-escape strings is to call
> lz.Browser.urlEscape.
> This works similar to the Javascript encodeURIComponent function,
> but is preferable
> because there are some knows bugs with encodeURIComponent on some
> platforms.
>
> Details:
>
> Use Andre's utf-8 clean implementation of encodeURIComponent.
>
> Tests:
>
> demos/amazon/amazon.lzx in swf8,swf9,dhtml
> test/lfc/data/alldata.lzx (alldata.lzx has bugs, but there should be
> no regressions from behavior in trunk)
> demos/lzpix/app.lzx in swf8,swf9,dhtml
> demos/calendar/calendar.lzx in swf8,swf9,dhtml
>
> Files:
> M kernel/swf/LzLoadQueue.as
> M services/LzBrowser.lzs
> M debugger/platform/swf9/LzFlashRemote.as
> M data/LzParam.lzs
> M compiler/LzRuntime.lzs
> M compiler/LzBootstrapDebugService.lzs
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090105-hqm-R.tar
More information about the Laszlo-dev
mailing list