diff options
author | Valentin Bartenev <vbart@nginx.com> | 2019-09-16 20:17:42 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2019-09-16 20:17:42 +0300 |
commit | 64be8717bdc2f0f8f11cbb8d18a0f96d2c24c6d3 (patch) | |
tree | 1539675a0756c9356719fd6b679eabea840983dc /src/nxt_string.h | |
parent | b5394c39568d9895d5c84862e7a209b76f98bea9 (diff) | |
download | unit-64be8717bdc2f0f8f11cbb8d18a0f96d2c24c6d3.tar.gz unit-64be8717bdc2f0f8f11cbb8d18a0f96d2c24c6d3.tar.bz2 |
Configuration: added ability to access object members with slashes.
Now URI encoding can be used to escape "/" in the request path:
GET /config/listeners/unix:%2Fpath%2Fto%2Fsocket/
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r-- | src/nxt_string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h index 22a63a17..56d7316b 100644 --- a/src/nxt_string.h +++ b/src/nxt_string.h @@ -168,5 +168,7 @@ NXT_EXPORT nxt_int_t nxt_strverscmp(const u_char *s1, const u_char *s2); NXT_EXPORT nxt_bool_t nxt_strvers_match(u_char *version, u_char *prefix, size_t length); +NXT_EXPORT u_char *nxt_decode_uri(u_char *dst, u_char *src, size_t length); + #endif /* _NXT_STRING_H_INCLUDED_ */ |