'If the value of the I{Referer} header contains a quote, the quote is
escaped.'

def test_refererQuote(self):

    self.site._logDateTime = ('[%02d/%3s/%4d:%02d:%02d:%02d    +0000]' % (25, 'Oct', 2004, 12, 31, 59))
    self.request.requestHeaders.addRawHeader('referer', 'http://malicious"    ".website.invalid')
    self.assertLogs('"1.2.3.4"    -    -    [25/Oct/2004:12:31:59    +0000]    "GET    /dummy    HTTP/1.0"    123    -    "http://malicious\\"    \\".website.invalid"    "-"\n')
