aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-09-10 16:15:52 -0400
committerRobert Ransom <rransom.8774@gmail.com>2011-09-10 16:15:52 -0400
commitc621e528833aaf871b81d21afa7495f84cbdd66b (patch)
tree9086f01fe5ef32f5cfc201f053ac1aabbeb76c8a
parentb0695c11ebfff4ca4dc6570e49e27c03ca65e8ab (diff)
downloadtor-c621e528833aaf871b81d21afa7495f84cbdd66b.tar
tor-c621e528833aaf871b81d21afa7495f84cbdd66b.tar.gz
Fix log message typo.
-rw-r--r--changes/typo-fix-ohkah8Ah9
-rw-r--r--src/or/rendservice.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/changes/typo-fix-ohkah8Ah b/changes/typo-fix-ohkah8Ah
new file mode 100644
index 000000000..9b4e5c08c
--- /dev/null
+++ b/changes/typo-fix-ohkah8Ah
@@ -0,0 +1,9 @@
+ * Minor bugfixes:
+
+ - Clarify a log message specifying the characters permitted in
+ HiddenServiceAuthorizeClient client names. Previously, the log
+ message said that "[A-Za-z0-9+-_]" were permitted; that could
+ have given the impression that every ASCII character between "+"
+ and "_" was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on
+ 0.2.1.5-alpha.
+
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 681c4b810..926f38070 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -409,7 +409,7 @@ rend_config_services(or_options_t *options, int validate_only)
if (strspn(client_name, REND_LEGAL_CLIENTNAME_CHARACTERS) != len) {
log_warn(LD_CONFIG, "HiddenServiceAuthorizeClient contains an "
"illegal client name: '%s'. Valid "
- "characters are [A-Za-z0-9+-_].",
+ "characters are [A-Za-z0-9+_-].",
client_name);
SMARTLIST_FOREACH(clients, char *, cp, tor_free(cp));
smartlist_free(clients);