package webcalendar
retitle 461174 webcalendar: Use $_SERVER to access Apache env vars
found 461174 1.0.5-14
thanks

* Rafael Laboissiere <[EMAIL PROTECTED]> [2008-02-09 11:44]:

> * Incorrect regex when checking settings.conf because config strings are
>   like: db_persistent: true (separated by colon, no space before colon)! 

Actually, I do not agree with the second part of the bug report as described
above.  In your "patch" you did:

    if ( preg_match ( "/^#|^\s+#/", $buffer ) ) continue;
# bp 2008-01-17 config strings are like: db_persistent: true  (separated by 
colon, no space before colon)!
//    if ( preg_match ( "/(\S+)\s+=\s+(\S+)/", $buffer, $matches ) ) {
      if ( preg_match ( "/(\S+)\s?:\s+(\S+)/", $buffer, $matches ) ) {

This is correct for the original WebCalendar but is wrong for the Debian
package, because we changed the syntax of settings.conf to read "variable =
value" instead of "variable: value".

I am hereby retitling this bug report accordingly.  I am recording the fact
that this bug should also affect version 1.0.5-14 in testing/unstable.
      
-- 
Rafael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to