Fixed #23922 -- Corrected parsing of URLs containing a # char in RequestFactory.

https://code.djangoproject.com/ticket/23922