Your message dated Thu, 30 Jan 2020 20:36:52 +0000
with message-id <e1ixgyw-000cw0...@fasolo.debian.org>
and subject line Bug#931255: fixed in php-horde-text-filter 2.3.5-3+deb10u1
has caused the Debian Bug report #931255,
regarding regexps used seems to be incompatible with libpcre2 10.32
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
931255: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931255
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: php-horde-text-filter
Version: 2.3.5-3
Severity: grave
Tags: patch

On buster with PHP 7.3 the tabs used on the horde settings webpage are empty 
instead of the usual General/Database etc.
With PHP 7.2 from packages.surey.org they work fine. They are linked against 
libpcre3 2:8.42

Log says:

WARN: HORDE [horde] PHP ERROR: preg_replace_callback(): Compilation failed: 
invalid range in character class at offset 68 [pid 21655 on line 99 of 
"/usr/share/php/Horde/Text/Filter.php"]

Problem seems to be that it doestn't like anymore ranges like [\w-+]. The 
hyphen needs to be first

Attached patch fixes it for me.

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

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-horde-text-filter depends on:
ii  php-common           2:69
ii  php-horde-exception  2.0.8-4
ii  php-horde-idna       1.1.1-3
ii  php-horde-util       2.5.8-3

Versions of packages php-horde-text-filter recommends:
pn  php-horde-test         <none>
ii  php-horde-text-flowed  2.0.3-5
ii  php-horde-translation  2.2.2-3
pn  php-tidy               <none>

Versions of packages php-horde-text-filter suggests:
pn  php-horde-text-filter-jsmin  <none>

-- no debconf information
diff --git a/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Emails.php 
b/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Emails.php
index ad760b9..929d829 100644
--- a/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Emails.php
+++ b/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Emails.php
@@ -61,7 +61,7 @@ class Horde_Text_Filter_Emails extends Horde_Text_Filter_Base
             ((?(1)\s*\]))
         |
             # Version 2 Pattern 9 and 10: simple email addresses.
-            (^|\s|&lt;|<|\[)([\w-+.=]+@[-A-Z0-9.]*[A-Z0-9])
+            (^|\s|&lt;|<|\[)([-\w+.=]+@[-A-Z0-9.]*[A-Z0-9])
             # Pattern 11 to 13: Optional parameters
             ((\?)([^\s"<]*[\w+#?\/&=]))?
             # Pattern 14: Optional closing bracket
diff --git a/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Linkurls.php 
b/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Linkurls.php
index a88dc12..72e19ec 100644
--- a/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Linkurls.php
+++ b/Horde_Text_Filter-2.3.5/lib/Horde/Text/Filter/Linkurls.php
@@ -86,7 +86,7 @@ class Horde_Text_Filter_Linkurls extends 
Horde_Text_Filter_Base
 (?:\b|^)
 (  # Capture 1: entire matched URL
   (
-   (?:[a-z][\w-+]{0,19})?:/{1,3}  # URL protocol and colon followed by 1-3
+   (?:[a-z][-\w+]{0,19})?:/{1,3}  # URL protocol and colon followed by 1-3
                                   # slashes, or just colon and slashes (://)
     |                             #  - or -
     (?<!\.)www\d{0,3}\.           # "www.", "www1.", "www2." … "www999."

--- End Message ---
--- Begin Message ---
Source: php-horde-text-filter
Source-Version: 2.3.5-3+deb10u1

We believe that the bug you reported is fixed in the latest version of
php-horde-text-filter, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 931...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org> (supplier of updated 
php-horde-text-filter package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 28 Jan 2020 10:41:46 +0100
Source: php-horde-text-filter
Architecture: source
Version: 2.3.5-3+deb10u1
Distribution: buster
Urgency: medium
Maintainer: Horde Maintainers <team+debian-horde-t...@tracker.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org>
Closes: 931255 935816
Changes:
 php-horde-text-filter (2.3.5-3+deb10u1) buster; urgency=medium
 .
   * QA upload.
   * Mark package as orphaned (See #942282)
 .
   [ IOhannes m zmölnig ]
   * Fixed regular-expressions (used e.g. for displaying plain-text mails)
     (Closes: #931255, #935816)
   * Switched upstream branch in the packaging git on salsa to 'debian-buster'
Checksums-Sha1:
 a651c520c281e71ed802145676143bb95cf3d279 2172 
php-horde-text-filter_2.3.5-3+deb10u1.dsc
 75e5a7d65007fa57c33083666384fc6e42f10d5a 4396 
php-horde-text-filter_2.3.5-3+deb10u1.debian.tar.xz
 1c03fbaf4d25e5253417fe8455f9c6c8add94536 6159 
php-horde-text-filter_2.3.5-3+deb10u1_amd64.buildinfo
Checksums-Sha256:
 e73ca72d2d7e0899c278356bde22716ff820d29ec0878c8c2dbda631bd07a3f7 2172 
php-horde-text-filter_2.3.5-3+deb10u1.dsc
 eda3447b420f56ebf364d3daaf4635adf3275e79950860c26b86a4f0c7f0a029 4396 
php-horde-text-filter_2.3.5-3+deb10u1.debian.tar.xz
 3423a44327f0341b50da988bae8dae26b5ae844fcbcc9c9c40a1e244ece12db7 6159 
php-horde-text-filter_2.3.5-3+deb10u1_amd64.buildinfo
Files:
 084e76bca30a1f0e6e9e1ba0375a579f 2172 php optional 
php-horde-text-filter_2.3.5-3+deb10u1.dsc
 2e545f45566a5733c297fd16ad8a932b 4396 php optional 
php-horde-text-filter_2.3.5-3+deb10u1.debian.tar.xz
 27635cc3eb0478d286af07829c2d986d 6159 php optional 
php-horde-text-filter_2.3.5-3+deb10u1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAl4xQ44ACgkQtlAZxH96
Nvi2hw/+PqBJ5H8QG4gN3bMpLMCwMT2d4aKZveWIS5O5sy7iPEXsmBfEgiX/DBzg
bFHZiCPTM2/m50I79PsO4uU/KqwmV3XjhizJD0A8j5V/o9Ii1lAQdiFQZkyNX262
qFVBFVRax3eYeVft9rwLvJc1wmXZ1uvv6kC4D+GxAYykcXdED+RGBiFACVRP32WQ
2ngTUBHrPy9U96rD33CepembQ4t7/BQF5Y/6SvlmMCz1Knlu2iGInUYCkrvdVp60
l7aQIrfB98vaz0mHQSOH8MNbOT6s1wEPymp3iZ6Dm0YvChN8jE6Sy7c092VOifWp
Th1aFOX1FyPeuuBzRMwMusaBcyOQB4yer4gF2FaUdHpLP9ou9W7iQlxdRp7gxLJx
19u1YwHSqsP5UUSO2zd23j8SmS5Qti7sdynDsH/bnNc5SxWn/BMvBCd5mDdzIUDM
/oSvJUHeIuQnRMSG61yc/PEh88yXrY0OTeH2MloA4zK6MvKGir2CEWpqNXdVHWfX
O7jyhcpn752pq2aU2/lThSULFrJHYm1cbGekrugUKvYPGgvMcjUQZkmh3TPORjGX
545EYDco7XjGqJwPR5i8Xo8Ihbr5t2bjR6b3VzAgGZRauBFWZ6/hcIwcdMlDDEFV
AOHmWK/AKhNdLRPQ8s+EPK47LPkCOBgIPG1HVVj+DLfO1nsuqSU=
=nCwG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to