Project

General

Profile

Bug #1106

server.tag variable consisting of multiple lines causes faults

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
Fixed
Priority:
Low
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

I noticed that when the server.tag contains more than one line, the last characters of the directory listing page disappear. For example, the configuration


server.tag = "lighttpd server
on Gentoo Linux
" 

causes that the end of the dir listing page becomes </html instead of </html>

With more than one line it eats more characters, at max everything after server.tag.

Even weirder, if there are empty lines in the server.tag then the text after the empty line is also printed at the beginning of the page. For example, the configuration


server.tag = "lighttpd

on Gentoo Linux
" 

causes the words "on Gentoo Linux" to appear on the top of the page.

It's no important problem but if people want to add scripts to the directory listing it is clearer if they can be several lines.

btw, I'm not sure if this is a core or mod_dirlisting problem

#1

Updated by jan over 13 years ago

  • Status changed from New to Assigned
#2

Updated by jan over 13 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to fixed

fixed in r1723

Also available in: Atom