From 4e6f33dd682fb606927abf74ed336d94edef4247 Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 18 Sep 2002 00:33:39 +0000 Subject: [PATCH] Do not append "null" to URLs generated by href() when baseURI is not specified ;-)= --- src/helma/framework/core/Application.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index f096a8bd..6394011c 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -1205,7 +1205,9 @@ public final class Application // set base URI String base = props.getProperty ("baseURI"); if (base != null) - setBaseURI (base); + setBaseURI (base); + else if (baseURI == null) + baseURI = "/"; // if node manager exists, update it if (nmgr != null) nmgr.updateProperties (props);