Package: drupal6
Version: 6.18-1squeeze1
Severity: important

This is a regression in the drupal6 6.18-1squeeze1 package from
squeeze/updates.
The issue is not present in stock squeeze.

Line 656 in /usr/share/drupal6/includes/common.inc contains a call to
filter_xss:

$entry = check_plain($types[$errno]) .': '. filter_xss($message) .' in
'. check_plain($filename) .' on line '. check_plain($line) .'.';

While this is working fine in drupal itself, this invocation breaks
drush with the following errors:

PHP Fatal error:  Call to undefined function filter_xss() in
/usr/share/drupal6/includes/common.inc on line 656
session_start(): Cannot send session cookie - headers already sent by
(output started at                                        [warning]
/usr/share/drush/includes/drush.inc:820) bootstrap.inc:1143
session_start(): Cannot send session cache limiter - headers already
sent (output started at                                    [warning]
/usr/share/drush/includes/drush.inc:820) bootstrap.inc:1143
Assigning the return value of new by reference is deprecated
nusoap.php:7381
[notice]
Cannot modify header information - headers already sent by (output
started at /usr/share/drush/includes/drush.inc:820)          [warning]
bootstrap.inc:709
Cannot modify header information - headers already sent by (output
started at /usr/share/drush/includes/drush.inc:820)          [warning]
bootstrap.inc:710
Cannot modify header information - headers already sent by (output
started at /usr/share/drush/includes/drush.inc:820)          [warning]
bootstrap.inc:711
Cannot modify header information - headers already sent by (output
started at /usr/share/drush/includes/drush.inc:820)          [warning]
bootstrap.inc:712
Drush command could not be completed.

A workaround is to replace the filter_xss() call with check_plain(), but
that probably defies the original purpose of the change that added the
filter_xss function.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages drupal6 depends on:
ii  apache2       2.2.16-6+squeeze4          Apache HTTP Server metapackage
ii  apache2-mpm-p 2.2.16-6+squeeze4          Apache HTTP Server -
traditional n
ii  curl          7.21.0-2                   Get a file from an HTTP,
HTTPS or
ii  dbconfig-comm 1.8.46+squeeze.0           common framework for
packaging dat
ii  debconf [debc 1.5.36.1                   Debian configuration
management sy
ii  percona-serve 5.1.59-rel13.0-325.squeeze Percona Server database
client bin
ii  php5          5.3.3-7+squeeze3           server-side, HTML-embedded
scripti
ii  php5-gd       5.3.3-7+squeeze3           GD module for php5
ii  php5-mysql    5.3.3-7+squeeze3           MySQL module for php5
ii  postfix [mail 2.7.1-1+squeeze1           High-performance mail
transport ag
ii  wwwconfig-com 0.2.1                      Debian web auto configuration

Versions of packages drupal6 recommends:
ii  percona-serve 5.1.59-rel13.0-325.squeeze Percona Server database
server bin

drupal6 suggests no packages.



-- 
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