From: "Thompson, David" <dthompson2@worcester.edu>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: Haunt serves some resources mistakenly as text/plain
Date: Thu, 21 Dec 2017 08:53:41 -0500 [thread overview]
Message-ID: <CAJ=RwfZCHmrj_Lmf6UCkU1WEGbHaEhk32AD-Z4nPx-y8OOiYLA@mail.gmail.com> (raw)
In-Reply-To: <87efno6wn4.fsf@gnu.org>
Hey Ludo and sirgazil,
On Thu, Dec 21, 2017 at 8:25 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> Hi there!
>
> sirgazil <sirgazil@zoho.com> skribis:
>
>> When you create resources in Haunt whose URL paths contain dots beside
>> the dot before a file extension, it seems Haunt's web server will
>> always serve them as "text/plain". So, in the case of HTML pages, for
>> example, when you visit them in the Web browser, the browser won't
>> render the HTML, but display the HTML markup instead (within a PRE
>> element in a browser-generated HTML page).
>
> I noticed that too.
>
> The first patch attached fixes it (previously (file-extension
> "hello.es.html") would return "es.html", which has no associated MIME
> type). The second one is nice to have.
>
> Dave, could you consider applying them? :-)
Thanks for finding and fixing this bug! Both patches applied!
- Dave
prev parent reply other threads:[~2017-12-21 13:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-16 20:36 Haunt serves some resources mistakenly as text/plain sirgazil
2017-12-21 13:25 ` Ludovic Courtès
2017-12-21 13:53 ` Thompson, David [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ=RwfZCHmrj_Lmf6UCkU1WEGbHaEhk32AD-Z4nPx-y8OOiYLA@mail.gmail.com' \
--to=dthompson2@worcester.edu \
--cc=guile-user@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).