Django's Test Client strips out URL ;-parameters
|Reported by:||andrewgodwin||Owned by:||andrewgodwin|
|Has patch:||no||Needs documentation:|
|Needs tests:||Patch needs improvement:|
The parameters I'm referring to are the ones illustrated by this:
The test client code uses urlparse to get the path component, while the main URL routing includes them. Thus, if I submit the url /works/23243/;include=artists via a normal HTTP connection, it works fine, but if I submit it via the test client, it gets truncated to /works/23243/.
Ideally, the two should be consistent; I propose doing this by making the test client include the parameter part.