httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-test/perl-framework/t/modules autoindex.t
Date Mon, 22 Apr 2002 07:21:04 GMT
jwoolley    02/04/22 00:21:04

  Modified:    perl-framework/t/modules autoindex.t
  Log:
  For proper HTML3.2 validation, these had to be & and not &
  
  Revision  Changes    Path
  1.5       +6 -6      httpd-test/perl-framework/t/modules/autoindex.t
  
  Index: autoindex.t
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/modules/autoindex.t,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -d -u -r1.4 -r1.5
  --- autoindex.t	10 Jan 2002 03:38:21 -0000	1.4
  +++ autoindex.t	22 Apr 2002 07:21:04 -0000	1.5
  @@ -198,9 +198,9 @@
           my $date_href;
           my $size_href;
           if ($have_apache_2) {
  -            $name_href = 'C=N&O=A';
  -            $date_href = 'C=M&O=A';
  -            $size_href = 'C=S&O=A';
  +            $name_href = 'C=N&O=A';
  +            $date_href = 'C=M&O=A';
  +            $size_href = 'C=S&O=A';
           } else {
               $name_href = 'N=A';
               $date_href = 'M=A';
  @@ -210,8 +210,8 @@
               if ($have_apache_2) {
                   if ($_ =~ /^C=$c/i) {
                       #print "changed ->$_<- to ";
  -                    $_ = "C=$c\&O=A" if $o =~ /^D$/i;
  -                    $_ = "C=$c\&O=D" if $o =~ /^A$/i;
  +                    $_ = "C=$c\&amp;O=A" if $o =~ /^D$/i;
  +                    $_ = "C=$c\&amp;O=D" if $o =~ /^A$/i;
                       last;
                   }
               } else {
  @@ -226,7 +226,7 @@
           if ($have_apache_2) {
   
               $html_head .=
  -        "<pre>      <a href=\"?$name_href\">Name</a>                
   <a href=\"?$date_href\">Last modified</a>      <a href=\"?$size_href\">Size</a>
 <a href=\"?C=D\&O=A\">Description</a><hr />      <a href=\"/modules/autoindex/\">Parent
Directory</a>                             -   \n";
  +        "<pre>      <a href=\"?$name_href\">Name</a>                
   <a href=\"?$date_href\">Last modified</a>      <a href=\"?$size_href\">Size</a>
 <a href=\"?C=D\&amp;O=A\">Description</a><hr />      <a href=\"/modules/autoindex/\">Parent
Directory</a>                             -   \n";
    
           $html_foot = "<hr /></pre>\n</body></html>\n";
   
  
  
  

Mime
View raw message