Project

General

Profile

Feature #2475 ยป file-as-docroot.patch

wsl, 2013-02-15 13:05

View differences:

lighttpd-1.4.28/src/response.c 2012-06-10 15:59:13.952646446 +0200
664 664
				}
665 665

  
666 666
				if (slash) pathinfo = slash;
667
			} while ((found == 0) && (slash != NULL) && ((size_t)(slash - srv->tmp_buf->ptr) > (con->physical.basedir->used - 2)));
667
			} while ((found == 0) && (slash != NULL) && ((size_t)(slash - srv->tmp_buf->ptr) >= (con->physical.basedir->used - 2)));
668 668

  
669 669
			if (found == 0) {
670 670
				/* no it really doesn't exists */
    (1-1/1)