diff options
| author | Michael Peter Christen <mc@yacy.net> | 2014-10-07 17:52:13 +0200 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2014-10-07 17:52:13 +0200 |
| commit | e413beac048e28a1d96dd80e2fc8bdce9249da2b (patch) | |
| tree | bf6ac9b11671dbed87d23f9084eabb6117ea9b4e /htroot | |
| parent | 74957f3760c79447c2f80d488ddf9ad39e3e1b33 (diff) | |
fix for latest UPnP update
Diffstat (limited to 'htroot')
| -rw-r--r-- | htroot/yacysearch_location.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htroot/yacysearch_location.java b/htroot/yacysearch_location.java index a47a73237..7a08205fd 100644 --- a/htroot/yacysearch_location.java +++ b/htroot/yacysearch_location.java @@ -121,7 +121,7 @@ public class yacysearch_location { String promoteSearchPageGreeting = env.getConfig(SwitchboardConstants.GREETING, ""); if (env.getConfigBool(SwitchboardConstants.GREETING_NETWORK_NAME, false)) promoteSearchPageGreeting = env.getConfig("network.unit.description", ""); String hostName = header.get("Host", Domains.LOCALHOST); - if (hostName.indexOf(':',0) == -1) hostName += ":" + env.getLocalPort("port", "8090"); + if (hostName.indexOf(':',0) == -1) hostName += ":" + env.getLocalPort("port", 8090); final String originalquerystring = (post == null) ? "" : post.get("query", post.get("search", "")).trim(); // SRU compliance final boolean global = post.get("kml_resource", "local").equals("global"); |
