You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2015/10/07 21:57:22 UTC

[2/2] wicket git commit: Update the WicketTester's User-Agent string to something more modern (Firefox 41)

Update the WicketTester's User-Agent string to something more modern (Firefox 41)


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ee127c02
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ee127c02
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ee127c02

Branch: refs/heads/master
Commit: ee127c0292dac90467998da8e3ed0473354229b8
Parents: 89f7758
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Oct 7 21:56:43 2015 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Oct 7 21:56:43 2015 +0200

----------------------------------------------------------------------
 .../apache/wicket/protocol/http/mock/MockHttpServletRequest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/ee127c02/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java b/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
index 6331674..6e758c7 100755
--- a/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
+++ b/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
@@ -1511,7 +1511,7 @@ public class MockHttpServletRequest implements HttpServletRequest
 		addHeader("Accept-Language", l.getLanguage().toLowerCase() + "-"
 			+ l.getCountry().toLowerCase() + "," + l.getLanguage().toLowerCase() + ";q=0.5");
 		addHeader("User-Agent",
-			"Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2");
+			"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0");
 	}
 
 	private static final String crlf = "\r\n";