Tuesday, December 7, 2010

Post URL characters problem

Hi,
if you have
<form method="POST" action="/blabla/topic/reply/114-test%20?/"
id="addReplyForm" name="addReplyForm">
...
</form>

when the form is submitted, django complains about this :
Request Method: POST
Request URL: http://mysite/blabla/topic/reply/114-test%20?/
Django Version: 1.3 pre-alpha SVN-13865
Exception Type: RuntimeError
Exception Value:

You called this URL via POST, but the URL doesn't end in a slash and
you have APPEND_SLASH set.

REQUEST_URI '/blabla/topic/reply/114-test%20?/'
PATH_INFO u'/blabla/topic/reply/114-test '
PATH_TRANSLATED '/my.wsgi/blabla/topic/reply/114-test '

can anyone tell if this is a bug of django ?

thanx.
Keats.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate