#14117: POST Data is different when run from TestClient and actually received
----------------------------------------+-----------------------------------
          Reporter:  [email protected]       |         Owner:  nobody    
            Status:  closed             |     Milestone:            
         Component:  Testing framework  |       Version:  1.2       
        Resolution:  invalid            |      Keywords:  TestClient
             Stage:  Unreviewed         |     Has_patch:  0         
        Needs_docs:  0                  |   Needs_tests:  0         
Needs_better_patch:  0                  |  
----------------------------------------+-----------------------------------
Changes (by PaulM):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I am unable to duplicate the behavior you're describing.

 I think this stems from the fact that different clients are going to
 interpret `+` in the string differently - your browser may be converting
 that a space, for example. Can you doublecheck (e.g. with firebug, look at
 the post request) to make sure that isn't the effect you're seeing? If you
 need a specific style of escaping for your application, you may need to
 escape the string yourself. Also beware of your production server changing
 these values before they get to your application.

 I'm closing this as invalid because I'm pretty sure this is the problem
 you're seeing, but please re-open it if that isn't the case. When you do,
 please provide a bit more detailed code to help duplicate the problem
 you're having, including detailed information about your production setup,
 and what makes it different from the dev server (which I assume does not
 have this problem, since you didn't mention it).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14117#comment:1>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to