diff options
author | Chris Goldthorpe | 2008-07-28 20:27:23 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2008-07-28 20:27:23 +0000 |
commit | 23cc1408ed1a588bc602ecbf0fbc2d1423aed758 (patch) | |
tree | bedfde0bdfa1ed2c1eb6c465b4b75dd7eb011838 /org.eclipse.help.webapp | |
parent | 40e4b8405c8d7f606313166ec4485153d9290e73 (diff) | |
download | eclipse.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.java | 6 |
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) { |