Package: davical
Version: 0.9.9.3-0
Severity: minor
Tags: patch

The Davical admin webpages produce incorrect HTML. Parsing the pages
with ex. BeautifulSoup HTML Parser. Data is lost does this
incorrectness.

The main problem is incorrect escaping of quotes (").

in /usr/share/davical/inc/ui/principal-edit.php:15
the word Administrator is quoted, which gets translated to 
\"Administrator\" in the corresponding HTML.

Workaround/Patch would be to remove the quotes.

calendar:~/davical-0.9.9.3# diff /usr/share/davical/inc/ui/principal-edit.php 
inc/ui/principal-edit.php 
15c15
< $editor->AddAttribute('is_admin', 'title', translate('An Administrator user 
has full rights to the whole DAViCal System'));
---
> $editor->AddAttribute('is_admin', 'title', translate('An "Administrator" user 
> has full rights to the whole DAViCal System'));


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages davical depends on:
ii  debconf                  1.5.36          Debian configuration management sy
ii  libawl-php               0.45-0          Andrew's Web Libraries - PHP Utili
ii  libdbd-pg-perl           2.17.1-2        Perl DBI driver for the PostgreSQL
ii  libyaml-perl             0.71-1          YAML Ain't Markup Language
ii  php5-pgsql               5.3.3-7         PostgreSQL module for php5
ii  postgresql-client-8.4    8.4.5-0squeeze2 front-end programs for PostgreSQL 

davical recommends no packages.

davical suggests no packages.

-- no debconf information



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