Commit e83a94dd authored by Nick Kew's avatar Nick Kew
Browse files

PR#36609 - permit % as the last character of a Header value


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@490156 13f79535-47bb-0310-9956-ffa450edef68
parent 5fa72ad7
Loading
Loading
Loading
Loading
+2 −2
Changes for modules/metadata/mod_headers.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -305,8 +305,8 @@ static char *parse_format_tag(apr_pool_t *p, format_tag *tag, const char **sa)
    }
    s++; /* skip the % */

    /* Pass through %% as % */
    if (*s == '%') {
    /* Pass through %% or % at end of string as % */
    if ((*s == '%') || (*s == '\0')) {
        tag->func = constant_item;
        tag->arg = "%";
        *sa = ++s;