diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-21 14:16:14 +0100 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2017-12-21 08:51:02 -0500 |
commit | e7b1b290b11c4f2c89999fc079278e917f65bca9 (patch) | |
tree | b41942a69a67e9f8c4d9005eb6329fa5186a57e5 /build-aux | |
parent | 4bf24d36f6faf09cdf8eccb05ad9bd7dda81393f (diff) |
serve: Fix 'file-extension' so that the right MIME type is chosen.
Reported by sirgazil at
<https://lists.gnu.org/archive/html/guile-user/2017-12/msg00070.html>.
* haunt/serve/mime-types.scm (%file-ext-regexp): Remove.
(file-extension): Rewrite using 'string-rindex'.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions