Tim Duesterhus | dbd25c3 | 2021-04-15 21:45:55 +0200 | [diff] [blame] | 1 | /* |
| 2 | * include/haproxy/uri_normalizer.h |
| 3 | * HTTP request URI normalization. |
| 4 | * |
| 5 | * Copyright 2021 Tim Duesterhus <tim@bastelstu.be> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License |
| 9 | * as published by the Free Software Foundation; either version |
| 10 | * 2 of the License, or (at your option) any later version. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | #ifndef _HAPROXY_URI_NORMALIZER_H |
| 15 | #define _HAPROXY_URI_NORMALIZER_H |
| 16 | |
Tim Duesterhus | d371e99 | 2021-04-15 21:45:58 +0200 | [diff] [blame] | 17 | #include <import/ist.h> |
| 18 | |
Tim Duesterhus | 0ee1ad5 | 2021-04-15 21:45:56 +0200 | [diff] [blame] | 19 | #include <haproxy/uri_normalizer-t.h> |
| 20 | |
Tim Duesterhus | 560e1a6 | 2021-04-15 21:46:00 +0200 | [diff] [blame^] | 21 | enum uri_normalizer_err uri_normalizer_path_dotdot(const struct ist path, int full, struct ist *dst); |
Tim Duesterhus | d371e99 | 2021-04-15 21:45:58 +0200 | [diff] [blame] | 22 | enum uri_normalizer_err uri_normalizer_path_merge_slashes(const struct ist path, struct ist *dst); |
| 23 | |
Tim Duesterhus | dbd25c3 | 2021-04-15 21:45:55 +0200 | [diff] [blame] | 24 | #endif /* _HAPROXY_URI_NORMALIZER_H */ |
| 25 | |
| 26 | /* |
| 27 | * Local variables: |
| 28 | * c-indent-level: 8 |
| 29 | * c-basic-offset: 8 |
| 30 | * End: |
| 31 | */ |