I will change header-key to lowercase.


2013/11/30 Arvind Jayaprakash <notifications@github.com>

> In ngx_http_aws_auth.c:
>
> >
> >      return NGX_CONF_OK;
> >  }
> >
> > +static int
> > +ngx_http_cmp_hnames(const void *one, const void *two) {
> > +    ngx_table_elt_t *first, *second;
> > +    first  = (ngx_table_elt_t *) one;
> > +    second = (ngx_table_elt_t *) two;
> > +
> > +    return ngx_strcmp(first->key.data, second->key.data);
>
> If we do not assume that all inputs are lowercase, then we should use
> ngx_strcasecmp instead of ngx_strcmp
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/anomalizer/ngx_aws_auth/pull/5/files#r8010327>
> .
>



-- 
Pozdrawiam
Dominik