Commit d26f2a1b authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

LanguagePriority should be case-insensitive in order to match AddLanguage behavior. PR 39730

Test case  added in r1850983

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1851093 13f79535-47bb-0310-9956-ffa450edef68
parent 5dc1948b
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGES: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
                                                         -*- coding: utf-8 -*-
Changes with Apache 2.5.1

  *) mod_proxy_wstunnel: Fix websocket proxy over UDS.
     PR 62932 <pavel dcmsys.com>
  
  *) mod_negociation: LanguagePriority should be case-insensitive in order to
     match AddLanguage behavior. PR 39730 [Christophe Jaillet]
  
+3 −0
Changes for modules/proxy/mod_proxy_wstunnel.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -279,7 +279,10 @@ static int proxy_wstunnel_canon(request_rec *r, char *url)
    if (path == NULL)
        return HTTP_BAD_REQUEST;

    if (port != def_port)
        apr_snprintf(sport, sizeof(sport), ":%d", port);
    else
        sport[0] = '\0';

    if (ap_strchr_c(host, ':')) {
        /* if literal IPv6 address */