Branch: Tag:

2002-08-06

2002-08-06 10:19:25 by Mattias Andersson <matan@lysator.liu.se>

Fixed [Bug 3197] concerning remove trailing index filename.

Rev: lib/modules/Search.pmod/Queue.pmod/MySQL.pike:1.16

79:    // FIXME: Make these configurable?    foreach( ({"index.xml", "index.html", "index.htm"}),    string index) -  if(search(rpath,reverse(index))==0) +  if(search(rpath,reverse(index))==0 && rpath[sizeof(index)]=='/')    rpath=rpath[sizeof(index)..];    r->path=reverse(rpath);