#23922: Quoting problem in RequestFactory
-------------------------------------+-------------------------------------
Reporter: berkerpeksag | Owner:
| berkerpeksag
Type: Bug | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
On further investigation, I think we can simply use the urlencoded version
of # when updating that test to use `RequestFactory` like this:
`rf.get('/needsquoting%23')`. The test passes and works as a regression
test as originally intended if I remove `urlquote` from
`urlquote(new_url[1])` in `CommonMiddleware`.
--
Ticket URL: <https://code.djangoproject.com/ticket/23922#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.b716447fa5963d6e85f4ec5dfbd94cbf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.