check if baseURI is null in href()
This commit is contained in:
parent
cae03f5fef
commit
e861654e2c
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, Runn
|
||||||
String base = props.getProperty ("baseURI");
|
String base = props.getProperty ("baseURI");
|
||||||
if (base != null)
|
if (base != null)
|
||||||
setBaseURI (base);
|
setBaseURI (base);
|
||||||
String href = n.getHref (root, users, tmpname, baseURI);
|
String href = n.getHref (root, users, tmpname, baseURI == null ? "/" : baseURI);
|
||||||
// add cache teaser
|
// add cache teaser
|
||||||
// href = href + "&tease="+((int) (Math.random ()*999));
|
// href = href + "&tease="+((int) (Math.random ()*999));
|
||||||
return href;
|
return href;
|
||||||
|
|
Loading…
Add table
Reference in a new issue