Re: parameters getting modified

2007-12-11 Thread annacoder
Hi, Thanks for the input. Its all because of my misunderstanding of how the URL is handled by apache. Apache does not allow multiple slashes in the path portion of the URL. (It seems there are some security underpinnings, which I did not understand). And there seems to be no way to turn it o

Re: parameters getting modified

2007-12-10 Thread l5x
If the example from Rajesh isn't working maybe you should do sth like that: /post// ? For example: /post/http/google.com Then join it 'http' + '://' + 'google.com' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: parameters getting modified

2007-12-10 Thread Rajesh Dhawan
Hi Venkat, > i have the following pattern, '^post/(?P.*)', 'post' > and, my url is post/http://google.com > but, I get it as http:/google.com I don't think this is a Django bug. It's likely that your HTTP server (mod_python, FCGI layer, etc.) is "normalizing" those forward slashes well before th

parameters getting modified

2007-12-09 Thread annacoder
Hi, hi, i have a problem where in the parameter matched by urls.py gets modified. i have the following pattern, '^post/(?P.*)', 'post' and, my url is post/http://google.com but, I get it as http:/google.com irrespective of the no. if ///, only one / comes out. any ideas? but, the regex seems