Why Django automatically adds slash after url that ends with ".htm" and doesn't when url ends with "

Posted by user118657 on Stack Overflow See other posts from Stack Overflow or by user118657
Published on 2010-05-01T11:13:35Z Indexed on 2010/05/01 11:17 UTC
Read the original article Hit count: 279

Filed under:

I have a problem that Django automatically adds slash to urls that ends with ".htm"

Url like: http://127.0.0.1:8080/js/tiny_mce/themes/advanced/link.htm becomes: http://127.0.0.1:8080/js/tiny_mce/themes/advanced/link.htm/

But if I rename "link.htm" to "link.html" then no problem happens.

Where could be the issues?

Thanks.

© Stack Overflow or respective owner

Related posts about django