From aff761a1ecf849811085c9527dd35160feae2566 Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 18 Jun 2003 14:59:07 +0000 Subject: [PATCH] do a Context.toObject() on the result of getURL(). --- src/helma/scripting/rhino/GlobalObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/scripting/rhino/GlobalObject.java b/src/helma/scripting/rhino/GlobalObject.java index 1859d3ef..8e477f9c 100644 --- a/src/helma/scripting/rhino/GlobalObject.java +++ b/src/helma/scripting/rhino/GlobalObject.java @@ -287,7 +287,7 @@ public class GlobalObject extends ScriptableObject { mime.eTag = etag; - return mime; + return Context.toObject(mime, this); } catch (Exception ignore) { System.err.println ("EXCEPT: "+ignore); }