[otrs-cvs] otrs/scripts/test Layout.t,1.3.2.7,1.3.2.8

cvs-log at otrs.org cvs-log at otrs.org
Wed Apr 2 09:25:00 GMT 2008


Comments:
Update of /home/cvs/otrs/scripts/test
In directory lancelot:/tmp/cvs-serv28584/scripts/test

Modified Files:
      Tag: rel-2_2
	Layout.t 
Log Message:
Fixed bug# 2756 - "http." in article body is displayed as "http://http."

Author: tr

Index: Layout.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/Layout.t,v
retrieving revision 1.3.2.7
retrieving revision 1.3.2.8
diff -C2 -d -r1.3.2.7 -r1.3.2.8
*** Layout.t	5 Mar 2008 16:57:56 -0000	1.3.2.7
--- Layout.t	2 Apr 2008 09:24:55 -0000	1.3.2.8
***************
*** 265,269 ****
  &lt;<a href="http://bugs.otrs.org/s()how_bug.cgi?id=2450" target="_blank" title="http://bugs.otrs.org/s()how_bug.cgi?id=2450">http://bugs.otrs.org/s()how_bug.cgi?id=2450</a>&gt; as<br>
  <br>
! wwww.google.de<br>
  <br>
  <a href="http://ftp.otrs.org" target="_blank" title="http://ftp.otrs.org">http://ftp.otrs.org</a><br>
--- 265,269 ----
  &lt;<a href="http://bugs.otrs.org/s()how_bug.cgi?id=2450" target="_blank" title="http://bugs.otrs.org/s()how_bug.cgi?id=2450">http://bugs.otrs.org/s()how_bug.cgi?id=2450</a>&gt; as<br>
  <br>
! w<a href="http://www.google.de" target="_blank" title="http://www.google.de">http://www.google.de</a><br>
  <br>
  <a href="http://ftp.otrs.org" target="_blank" title="http://ftp.otrs.org">http://ftp.otrs.org</a><br>
***************
*** 285,290 ****
  );
  
! $Self->True(
!     $NeededResult eq $ConvertedString,
      'Ascii2Html() - Check if the link feature works correct' ,
  );
--- 285,291 ----
  );
  
! $Self->Is(
!     $ConvertedString,
!     $NeededResult,
      'Ascii2Html() - Check if the link feature works correct' ,
  );
***************
*** 422,425 ****
--- 423,431 ----
          Result => '&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt; alert(&quot;Not safe!&quot;); &lt;/script&gt;',
      },
+     {
+         Name => 'Ascii2Html() - #27 http.-check',
+         String => "http.\nsome text http.\nsome text http. some text\n",
+         Result => "http.<br>\nsome text http.<br>\nsome text http. some text<br>\n",
+     },
  );
  


More information about the cvs-log mailing list