Package: websvn
Version: 2.3.3-1
Severity: normal

When trying to enscript a file with no extension, I get the following error in
the apache logs:

 PHP Warning:  array_key_exists(): The first argument should be either a string 
or an integer in /usr/share/websvn/include/svnlook.php on line 643

I'm guessing

    } else if (array_key_exists($ext, $extEnscript)) {

should be

    } else if ($ext && array_key_exists($ext, $extEnscript)) {

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages websvn depends on:
ii  apache2                     2.2.21-3     Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd] 2.2.21-3     Apache HTTP Server - traditional n
ii  debconf [debconf-2.0]       1.5.40       Debian configuration management sy
ii  libapache2-mod-php5         5.3.8-2      server-side, HTML-embedded scripti
ii  php-geshi                   1.0.8.4-1    Generic Syntax Highlighter
ii  php5                        5.3.8-2      server-side, HTML-embedded scripti
ii  po-debconf                  1.0.15       manage translated Debconf template
ii  subversion                  1.6.17dfsg-3 Advanced version control system
ii  ucf                         3.0025+nmu2  Update Configuration File: preserv

Versions of packages websvn recommends:
ii  enscript                      1.6.5.2-1  converts text to Postscript, HTML 

websvn suggests no packages.

-- debconf information:
* websvn/webservers: apache2
* websvn/configuration: true
* websvn/parentpath: /home/svn
* websvn/repositories: /home/svn/lnxnm
* websvn/permissions:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to