Merge not-implemented-quote-4978
commitda6e68ab7f0a42f0b87fcb9fd41ff8563cc31c78
authorglyph <glyph@bbbe8e31-12d6-0310-92fd-ac37d47ddeeb>
Tue, 22 Mar 2011 21:45:56 +0000 (22 21:45 +0000)
committerglyph <glyph@bbbe8e31-12d6-0310-92fd-ac37d47ddeeb>
Tue, 22 Mar 2011 21:45:56 +0000 (22 21:45 +0000)
treeb1b6b5eabc42a5c23b9d91c8b986906420b8b1f4
parentcd65498575ff91bb4bff3fe308c0017697cfc286
Merge not-implemented-quote-4978

Author: glyph

Reviewer: mwh

Fixes: #4978

default NOT_IMPLEMENTED and NOT_ALLOWED pages now quote the request method and
URI respectively, to protect against browsers which don't quote those values for
us.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@31389 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
twisted/web/server.py
twisted/web/test/test_web.py
twisted/web/topfiles/4978.bugfix [new file with mode: 0644]