开发者

django urlencode filter

开发者 https://www.devze.com 2022-12-13 19:27 出处:网络
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 lo

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

精彩评论

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