diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-06-12 16:23:16 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 08:45:02 -0400 |
commit | ea72958f25f6326d6947c8cd4ef185912582d436 (patch) | |
tree | 8e5913b7f68caca5e184b1a8e737eb1bea2212de /src/or/transports.c | |
parent | 6cfc2b5d73f6ec1b2ab4af1f209b6126a7d8cba9 (diff) | |
download | tor-ea72958f25f6326d6947c8cd4ef185912582d436.tar.gz tor-ea72958f25f6326d6947c8cd4ef185912582d436.zip |
Pass characters to be escaped to tor_escape_str_for_socks_arg().
This is in preparation for using tor_escape_str_for_socks_arg() to
escape server-side pluggable transport parameters.
Diffstat (limited to 'src/or/transports.c')
-rw-r--r-- | src/or/transports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/transports.c b/src/or/transports.c index cfec70340c..6f17702386 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -1440,7 +1440,7 @@ pt_stringify_socks_args(const smartlist_t *socks_args) SMARTLIST_FOREACH_BEGIN(socks_args, const char *, s) { /* Escape ';' and '\'. */ - escaped_string = tor_escape_str_for_socks_arg(s); + escaped_string = tor_escape_str_for_socks_arg(s, ";\\"); if (!escaped_string) goto done; |