Your message dated Sun, 2 Apr 2006 21:44:16 +0200
with message-id <[EMAIL PROTECTED]>
and subject line thy removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: thy
Version: 0.9.4-1
Severity: normal

According to the documentation:
* --options usercgi, -o usercgi
     If one wants to allow users to run CGI applications from their
     private directories, this option should be enabled.

According to the source (cgi.c line 658, function cgi_iscgi):
if (!fn && session->request->url[1] == '~' &&
    config->options.usercgi == THY_BOOL_TRUE)
  iscgi = 0;

First, the usercgi test is wrong, it should be
config->options.usercgi != THY_BOOL_TRUE.

Second, in my tests fn always points to the resolved pathname, so the
!fn test always fails. But I don't see why this test is relevant.

I replaced the code with the following, which seems to work correctly
here.

if (session->request->url[1] == '~' &&
    config->options.usercgi != THY_BOOL_TRUE)
  iscgi = 0;

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.7
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)

Versions of packages thy depends on:
ii  libc6                        2.3.5-6     GNU C Library: Shared libraries an
ii  libgnutls11                  1.0.16-13.1 GNU TLS library - runtime library
ii  zlib1g                       1:1.2.3-4   compression library - runtime

thy recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
thy has been removed from Debian because it is unmaintained upstream
and buggy.
-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply via email to