views:

401

answers:

1

I have a problem with encoding urls using build-in django urlencode filter. When I use it on default django server everything is fine. But on apache2 it doesn`t work, ie. i have a tag called C#. On localhost my url is encoded to ...tags/C%23/ but on apache2 it is tags/C/

What should I do?

A: 

I guess this is a bug with apache, simplest solution would be do url encoding twice or do a base64 encoding.

Prashanth
It is unlikely to be apache. Apache does not change the HTML in a page.
Mez
I don't think he is talking about HTML in a page. He is talking about this happening in url.
Prashanth