mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
This normalizer sorts the `&` delimited query parameters by parameter name. See GitHub Issue #714.
32 lines
956 B
C
32 lines
956 B
C
/*
|
|
* include/haproxy/uri_normalizer.h
|
|
* HTTP request URI normalization.
|
|
*
|
|
* Copyright 2021 Tim Duesterhus <tim@bastelstu.be>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef _HAPROXY_URI_NORMALIZER_H
|
|
#define _HAPROXY_URI_NORMALIZER_H
|
|
|
|
#include <import/ist.h>
|
|
|
|
#include <haproxy/uri_normalizer-t.h>
|
|
|
|
enum uri_normalizer_err uri_normalizer_path_dotdot(const struct ist path, int full, struct ist *dst);
|
|
enum uri_normalizer_err uri_normalizer_path_merge_slashes(const struct ist path, struct ist *dst);
|
|
enum uri_normalizer_err uri_normalizer_query_sort(const struct ist query, const char delim, struct ist *dst);
|
|
|
|
#endif /* _HAPROXY_URI_NORMALIZER_H */
|
|
|
|
/*
|
|
* Local variables:
|
|
* c-indent-level: 8
|
|
* c-basic-offset: 8
|
|
* End:
|
|
*/
|