Commit 313f8c4b authored by Alexei Kosut's avatar Alexei Kosut
Browse files

Rewrote the filename extenstion checking code so the order is irrelevant.

i.e. foo.html.en.gz and foo.en.gz.html will give the same headers. The old
code would ignore the en and gz in the latter example.

Another benefit is that you can, for example, do "AddLanguage en html"
and all HTML files will be tagged as English as well as content-type
text/html (asuming this is so defined in mime.types or an AddType).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76404 13f79535-47bb-0310-9956-ffa450edef68
parent 015120f4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment