Summary | Brackets in URLs cause problems showing message |
Queue | IMP |
Queue Version | 6.0.4 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | vmkari (at) cc (dot) helsinki (dot) fi |
Created | 04/03/2013 (4473 days ago) |
Due | |
Updated | 04/10/2013 (4466 days ago) |
Assigned | 04/03/2013 (4473 days ago) |
Resolved | 04/09/2013 (4467 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
PHP version and raising the pcre limit solved the problem!
commit 23ae3d2699eb42c638be568f8282091f2c5a29e6
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Apr 9 13:13:13 2013 -0600
Unit test for
Bug #12152.../test/Horde/Text/Filter/LinkurlsTest.php | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/23ae3d2699eb42c638be568f8282091f2c5a29e6
Assigned to Michael Slusarz
Priority ⇒ 1. Low
State ⇒ Resolved
You are most likely using a version of PHP < 5.3.7 which had an
unrealistically low default value of pcre.backtrack_limit. Either
upgrade PHP or set the default value to at least 1000000 instead.
commit 4a6352106b93a92e00cd32128457d66d8606afd3
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Apr 9 13:07:16 2013 -0600
[mms] If a preg call exceeds the backtrack limit, fallback to the
original text (
Bug #12152).framework/Text_Filter/lib/Horde/Text/Filter.php | 12 ++++++++++--
framework/Text_Filter/package.xml | 4 ++--
2 files changed, 12 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/4a6352106b93a92e00cd32128457d66d8606afd3
symptoms don't quite match up.
It might be an IMAP server parsing issue also (directly viewing an
attachment means that we don't do any parsing ourselves). Maybe an
IMAP log would be helpful.
To further debug this issue, we need details of the IMP -> IMAP/POP
communication.
To enable debugging, see instructions contained in
imp/config/backends.php (the 'debug' config parameter).
Debugging should not be enabled on a production server, Attach/post
only the portion of the log that directly deals with the problem
reported (it may be simplest to clear the log file and then perform
the event that causes the error).
We see no errors whatsoever. However, it is at least a remote
possibility that one of our local patches could have effect on this.
Our Horde/IMP admin will return next week and I guess we'll have to do
new tests on a totally unpatched Horde/IMP.
State ⇒ Feedback
webserver/PHP/Horde logs?
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Brackets in URLs cause problems showing message
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
New Attachment: url_brackets_problem.tar.gz
State ⇒ Unconfirmed
brackets. Instead IMP shows the content as an attachment. Trying to
open the attachment results in a blank window with no content. See the
attached screenshot for details.
I have also attached two mail messages as examples, one of which
displays perfectly okay and the other (containing an URL with
brackets) failing to display.