Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2008-07-28 20:27:23 +0000
committerChris Goldthorpe2008-07-28 20:27:23 +0000
commit23cc1408ed1a588bc602ecbf0fbc2d1423aed758 (patch)
treebedfde0bdfa1ed2c1eb6c465b4b75dd7eb011838 /org.eclipse.help.webapp
parent40e4b8405c8d7f606313166ec4485153d9290e73 (diff)
downloadeclipse.platform.ua-23cc1408ed1a588bc602ecbf0fbc2d1423aed758.tar.gz
eclipse.platform.ua-23cc1408ed1a588bc602ecbf0fbc2d1423aed758.tar.xz
eclipse.platform.ua-23cc1408ed1a588bc602ecbf0fbc2d1423aed758.zip
Bug 238533 – [Webapp] Help in internal browser: TOC and Search frames problems on linux/firefox3v20080804
Diffstat (limited to 'org.eclipse.help.webapp')
-rw-r--r--org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java
index 7e148a8af..5e6b3029c 100644
--- a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java
+++ b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/UrlUtil.java
@@ -217,8 +217,10 @@ public class UrlUtil {
return false;
agent=agent.toLowerCase(Locale.ENGLISH);
// sample substring Gecko/20020508
- // search for "gecko/" not to react to "like Gecko"
- return agent.indexOf("gecko/") >= 0; //$NON-NLS-1$
+ if (agent.indexOf("like gecko") >= 0) { //$NON-NLS-1$
+ return false;
+ }
+ return agent.indexOf("gecko") >= 0; //$NON-NLS-1$
}
public static boolean isIE(HttpServletRequest request) {

Back to the top