From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Thompson, David" Newsgroups: gmane.lisp.guile.user Subject: Re: Haunt serves some resources mistakenly as text/plain Date: Thu, 21 Dec 2017 08:53:41 -0500 Message-ID: References: <7618df95-aba7-2e5b-6bb2-e6d6de427907@zoho.com> <87efno6wn4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1513864332 23310 195.159.176.226 (21 Dec 2017 13:52:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2017 13:52:12 +0000 (UTC) Cc: Guile User To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 21 14:52:08 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS1GZ-0005kG-Ps for guile-user@m.gmane.org; Thu, 21 Dec 2017 14:52:07 +0100 Original-Received: from localhost ([::1]:51791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS1IX-0002fh-6v for guile-user@m.gmane.org; Thu, 21 Dec 2017 08:54:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS1I8-0002fA-UC for guile-user@gnu.org; Thu, 21 Dec 2017 08:53:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS1I7-0001oX-Gq for guile-user@gnu.org; Thu, 21 Dec 2017 08:53:44 -0500 Original-Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]:33419) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eS1I7-0001n6-93 for guile-user@gnu.org; Thu, 21 Dec 2017 08:53:43 -0500 Original-Received: by mail-vk0-x231.google.com with SMTP id g69so12234500vkg.0 for ; Thu, 21 Dec 2017 05:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1bKoZnYZdQ8s7ceKvJMrFol7Z+PW9tnVJGf3CVQbCHA=; b=oUczCgtAO1QoNrZVHF3SDAFVpcHcOLtEYaHfYqREA1agZjmSoyNJpiLdI5S47lXKqw FNmP7KZ53clNoGangTdV/4PLWSQAmrbmQIO6t72JrkVEUxYm8N9sIawk1dJFH5zOm6Ys 3QGpK8Zc2o0184GqtMGKVyqHtNNCJdpmjeQLYKeCZNbngAs1qUs27B9eNwRAZcB8Fw2a IfF/dME/Cf4roJ1wuzZHpGQAjLJbBkayXKnp9n/2Y2JGSiqfIMlvD9qvmAtr05KXGAI8 1h7rW0WLjqLg5WKXhmRmWDop3nzwn90tRRPIM/vfL4Qn+lEwLX3Rj0N+Lo0+U8rvCUjs 0e0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1bKoZnYZdQ8s7ceKvJMrFol7Z+PW9tnVJGf3CVQbCHA=; b=o8ndzMsrydcvTWi920+r+Q+gAVzXnLCnZW+Hf8IEA391BBF/gzmCZfgYuFp40rcWFN 9Tont/frk+5hXSN2O8BOpLz1HUm3hw3z6qBpNcG0qhhOJaoDsJLXcBdNqVOdS8bC5J3S 6OccGZy/S2bUQI19rOPpeOHJmZxk+4/Ol8KbfHpA9UrU1X/9oy0eXvRXvMFF2OWlRPf8 tBQup9AEQ69rfboOhtHsAVR+M4fvomXRhYkb4Z8CfbAb6pAUdXujMaTuWgLqXhe9kZAc 74wEkxoMVbFdNh6gWq++DYsuGxRgscLtz10mI/tatMNIbiuqtQaqdwa+Ei2P2iradI/7 VP/w== X-Gm-Message-State: AKGB3mJeJfhixhNSquUjVLMFGbPpTvpfIqzIssBd3xft/mpny9AbpFOT iG2wNRjwsMZ9DFRXFKFjPshSecpvllrZ+4pDeEVwWQ== X-Google-Smtp-Source: ACJfBososRuHyugu0y69b9hJrfAQ+0v3y5VYVon3bg/APu7gnax668cjzIKRmvM/FJ2V7NC7UGMY67UsDVdPb1wjjqg= X-Received: by 10.31.171.196 with SMTP id u187mr10300973vke.141.1513864422048; Thu, 21 Dec 2017 05:53:42 -0800 (PST) Original-Received: by 10.31.199.194 with HTTP; Thu, 21 Dec 2017 05:53:41 -0800 (PST) In-Reply-To: <87efno6wn4.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c05::231 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14385 Archived-At: Hey Ludo and sirgazil, On Thu, Dec 21, 2017 at 8:25 AM, Ludovic Court=C3=A8s wrote: > Hi there! > > sirgazil 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