开发者

django urlencode filter

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 loca开发者_如何学Pythonlhost my url is encoded to ...tags/C%23/ but on apache2 it is tags/C/

What should I do?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜