fixed stupid null baseURI bug
This commit is contained in:
parent
0beed82331
commit
07fa89f251
1 changed files with 2 additions and 1 deletions
|
@ -495,7 +495,8 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, IRep
|
|||
String base = props.getProperty ("baseURI");
|
||||
String siteroot = props.getProperty ("rootPrototype");
|
||||
|
||||
if (base != null) setBaseURI (base);
|
||||
if (base != null || baseURI == null)
|
||||
setBaseURI (base);
|
||||
String href = n.getUrl (root, users, tmpname, siteroot);
|
||||
|
||||
return baseURI + href;
|
||||
|
|
Loading…
Add table
Reference in a new issue