Commit ac48e5fa authored by Eric Covener's avatar Eric Covener
Browse files

mod_mime: fix quoted pair scanning


Submitted By: ylavic



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1797550 13f79535-47bb-0310-9956-ffa450edef68
parent 27e7c004
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
                                                         -*- coding: utf-8 -*-
Changes with Apache 2.5.0

  *) mod_mime: Fix error checking for quoted pairs.  [Yann Ylavic]

  *) core: Deprecate ap_get_basic_auth_pw() and add 
     ap_get_basic_auth_components(). 
     [Emmanuel Dreyfus <manu netbsd.org>, Jacob Champion, Eric Covener]
+2 −2
Original line number Diff line number Diff line
@@ -528,9 +528,9 @@ static int is_quoted_pair(const char *s)
    int res = -1;
    int c;

    if (((s + 1) != NULL) && (*s == '\\')) {
    if (*s == '\\') {
        c = (int) *(s + 1);
        if (apr_isascii(c)) {
        if (c && apr_isascii(c)) {
            res = 1;
        }
    }