Hi,

Playing with mod_autoindex found a small bug that limits DescriptionWidth to
the default 23 characters

Here is a patch:


--- mod_autoindex.c.old Thu Aug  9 17:54:28 2001
+++ mod_autoindex.c     Thu Aug  9 19:12:06 2001
@@ -1628,7 +1628,7 @@
                        ap_rvputs(r, "</td><td>",
                                   terminate_description(d, ar[x]->desc,
                                                        autoindex_opts,
-                                                        name_width), NULL);
+                                                        desc_width), NULL);
                }
            }
             else
@@ -1700,7 +1700,7 @@
                if (ar[x]->desc) {
                    ap_rputs(terminate_description(d, ar[x]->desc,
                                                   autoindex_opts,
-                                                   name_width), r);
+                                                   desc_width), r);
                }
            }
            ap_rputc('\n', r);




MT.

Reply via email to