Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在使用内置 django urlencode 过滤器编码 url 时遇到问题。当我在默认的 django 服务器上使用它时,一切都很好。但在 apache2 上它不起作用,即。我有一个名为 C# 的标签。在 localhost 我的 url 被编码为 ...tags/C%23/ 但在 apache2 上它是 tags/C/
我应该怎么办?
我猜这是apache的一个错误,最简单的解决方案是进行两次 url 编码或进行 base64 编码。