summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/server/WebBrowser.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/server/WebBrowser.java')
-rw-r--r--server/src/com/vaadin/server/WebBrowser.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/WebBrowser.java b/server/src/com/vaadin/server/WebBrowser.java
index 9bf30cb3db..1205fece74 100644
--- a/server/src/com/vaadin/server/WebBrowser.java
+++ b/server/src/com/vaadin/server/WebBrowser.java
@@ -496,7 +496,9 @@ public class WebBrowser implements Serializable {
locale = request.getLocale();
address = request.getRemoteAddr();
secureConnection = request.isSecure();
- String agent = request.getHeader("user-agent");
+ // Headers are case insensitive according to the specifiation but are
+ // case sensitive in Weblogic portal...
+ String agent = request.getHeader("User-Agent");
if (agent != null) {
browserApplication = agent;