]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix log message typo.
authorRobert Ransom <rransom.8774@gmail.com>
Sat, 10 Sep 2011 20:15:52 +0000 (16:15 -0400)
committerRobert Ransom <rransom.8774@gmail.com>
Sat, 10 Sep 2011 20:15:52 +0000 (16:15 -0400)
changes/typo-fix-ohkah8Ah [new file with mode: 0644]
src/or/rendservice.c

diff --git a/changes/typo-fix-ohkah8Ah b/changes/typo-fix-ohkah8Ah
new file mode 100644 (file)
index 0000000..9b4e5c0
--- /dev/null
@@ -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.
+
index 681c4b8103244f6eb35cc538369941219f53d174..926f38070ae08cdcc6e26c554449aca30978c2a1 100644 (file)
@@ -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);