From 06873175bf9141531e5de2e6b061f2ba94014edc Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 22 Feb 2017 14:29:19 -0700 Subject: [PATCH] httpserver: Add user agent to test case (closes #1454) --- caddyhttp/httpserver/mitm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/httpserver/mitm_test.go b/caddyhttp/httpserver/mitm_test.go index 0d5f7d53..44c9adba 100644 --- a/caddyhttp/httpserver/mitm_test.go +++ b/caddyhttp/httpserver/mitm_test.go @@ -162,7 +162,7 @@ func TestHeuristicFunctions(t *testing.T) { }, { // Firefox 51.0.1 being intercepted by burp 1.7.17 - userAgent: "(TODO)", // https://github.com/mholt/caddy/issues/1454 + userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0", helloHex: `010000d8030358a92f4daca95acc2f6a10a9c50d736135eae39406d3090238464540d482677600003ac023c027003cc025c02900670040c009c013002fc004c00e00330032c02bc02f009cc02dc031009e00a2c008c012000ac003c00d0016001300ff01000075000a0034003200170001000300130015000600070009000a0018000b000c0019000d000e000f001000110002001200040005001400080016000b00020100000d00180016060306010503050104030401040202030201020201010000001700150000126a61677561722e6b796877616e612e6f7267`, }, {