[#6315] Signature regex matches too much and inserts extra divs
Summary Signature regex matches too much and inserts extra divs
Queue IMP
Queue Version 4.2-RC2
Type Bug
State Resolved
Priority 2. Medium
Owners Chuck Hagenbuch <chuck (at) horde (dot) org>
Requester maho (at) pagema (dot) net
Created 02/24/2008 (226 days ago)
Due
Updated 02/25/2008 (225 days ago)
Assigned 02/25/2008 (225 days ago)
Resolved 02/25/2008 (225 days ago)
Attachments
Milestone
Patch No

History
02/25/2008 Chuck Hagenbuch Deleted Attachment: screenshots.zip
 
02/25/2008 Chuck Hagenbuch Comment #8
State ⇒ Resolved
Taken from Horde DevelopersHorde Developers
Reply to this comment
02/25/2008 Chuck Hagenbuch Comment #7
State ⇒ Assigned
Summary ⇒ Signature regex matches too much and inserts extra divs
Assigned to Horde DevelopersHorde Developers
Assigned to Chuck Hagenbuch
Reply to this comment
Okay, the key was having a blank signature. I can reproduce this now.
02/25/2008 maho (at) pagema (dot) net Comment #6
New Attachment: screenshots.zip
Reply to this comment
Hmm, see attached screenshots. Note the 3.jpg - some html code before 
wysiwyg editor will take it's place. That code is visible during about 
2-3 seconds.

Also, I noticed such entries in syslog (haven't seen them before). Can 
they be related to strange behaviour I noticed?

Feb 25 19:49:51 snake php5: PHP Warning:  PHP Startup: Unable to load 
dynamic library '/usr/lib/php5/20060613/domxml.so' - 
/usr/lib/php5/20060613/domxml.so: cannot open shared object file: No 
such file or directory in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  PHP Startup: Unable to load 
dynamic library '/usr/lib/php5/20060613/odbc.so' - 
/usr/lib/php5/20060613/odbc.so: cannot open shared object file: No 
such file or directory in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  PHP Startup: Unable to load 
dynamic library '/usr/lib/php5/20060613/mcrypt.so' - 
/usr/lib/php5/20060613/mcrypt.so: cannot open shared object file: No 
such file or directory in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  Module 'curl' already loaded 
in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  Module 'gd' already loaded 
in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  Module 'imap' already loaded 
in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  Module 'mysql' already 
loaded in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  Module 'pgsql' already 
loaded in Unknown on line 0
Feb 25 19:49:51 snake php5: PHP Warning:  Module 'SQLite' already 
loaded in Unknown on line 0

02/25/2008 Chuck Hagenbuch Comment #5
State ⇒ Feedback
Reply to this comment
I can't reproduce this either, and I'm running PHP 5.
02/25/2008 maho (at) pagema (dot) net Comment #4 Reply to this comment
  FF/Iceveassel 2.0.0.12 on Debian Linux (sarge)
Err, not sarge but sid. Sarge is distro of server :)
02/25/2008 maho (at) pagema (dot) net Comment #3 Reply to this comment
I have checked it with FF/Iceveassel 2.0.0.12 on Debian Linux (sarge) 
and with IE6 on XP. Result is the same - bad.

Maybe it's important tha I run horde on php5 (php 5.2.0-8)?
02/24/2008 Jan Schneider Comment #2 Reply to this comment
Works perfectly here.
02/24/2008 maho (at) pagema (dot) net Comment #1
Queue ⇒ IMP
Summary ⇒ Bad html=>text conversion in compose window
Type ⇒ Bug
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Reply to this comment
There is problem with switching from html=>text and vice versa.

How to reproduce.

1. Click new message
2. if default compose mode is text, switch to html
3. type "foo bar" in compose window
4. switch to text. Everything is ok, we see "foo bar" in body.
5. switch back to html. Body is screwed, we see:
"
f
o
o

b
a
r
" in compose window.