[Pkg-owncloud-maintainers] Bug#942644: owncloud-client: Password box doesn't strip trailing newline
Conrad J.C. Hughes (for Debian package stuff)
debbugs at xrad.org
Sat Oct 19 12:34:38 BST 2019
Package: owncloud-client
Version: 2.5.1.10973+dfsg-1
Severity: normal
Dear Maintainer,
When adding a new server, the password dialog doesn't strip a trailing newline.
Seems that most password fields do that these days. Context is password stores
where one copies a whole line (e.g. with triple click in a terminal), which
includes the trailing newline: when this kind of content is pasted into the
vast majority of password fields, the trailing newline (possibly CR/LF) gets
stripped. Not so with Owncloud Client, which reports an authentication failure
as a result.
To reproduce:
- If you have a terminal-based password store, the password may well be
displayed on its own line in the terminal.
- The easiest way to copy this is just to triple-click, selecting the whole
line, including trailing newline.
- When pasted into the OwnCloud add server dialog's password field, the
newline isn't stripped out, resulting in authentication failure.
- Expected behaviour would be that the trailing newline is stripped, and
authentication succeeds.
Best,
Conrad
-- System Information:
Debian Release: 10.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages owncloud-client depends on:
ii libc6 2.28-10
ii libgcc1 1:8.3.0-6
ii libowncloudsync0 2.5.1.10973+dfsg-1
ii libqt5core5a 5.11.3+dfsg1-1
ii libqt5dbus5 5.11.3+dfsg1-1
ii libqt5gui5 5.11.3+dfsg1-1
ii libqt5keychain1 0.9.1-2
ii libqt5network5 5.11.3+dfsg1-1
ii libqt5sql5-sqlite 5.11.3+dfsg1-1
ii libqt5webkit5 5.212.0~alpha2-21
ii libqt5widgets5 5.11.3+dfsg1-1
ii libqt5xml5 5.11.3+dfsg1-1
ii libstdc++6 8.3.0-6
ii owncloud-client-l10n 2.5.1.10973+dfsg-1
Versions of packages owncloud-client recommends:
ii owncloud-client-doc 2.5.1.10973+dfsg-1
owncloud-client suggests no packages.
-- no debconf information
More information about the Pkg-owncloud-maintainers
mailing list