Project

General

Profile

Actions

Bug #2981

closed

mod_deflate_choose_encoding() parse error

Added by gstrauss over 5 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_deflate
Target version:
ASK QUESTIONS IN Forums:

Description

mod_deflate_choose_encoding() parse error

--- a/src/mod_deflate.c
+++ b/src/mod_deflate.c
@@ -997,7 +997,7 @@ static int mod_deflate_choose_encoding (const char *value, plugin_data *p, const
       #else
         for (; *value; ++value) {
             const char *v;
-            while (*value == ' ' || *value == ',') continue;
+            while (*value == ' ' || *value == ',') ++value;
             v = value;
             while (*value!=' ' && *value!=',' && *value!=';' && *value!='\0')
                 ++value;
Actions #1

Updated by gstrauss over 5 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100
Actions

Also available in: Atom