mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Fix log message typo.
This commit is contained in:
parent
b0695c11eb
commit
c621e52883
9
changes/typo-fix-ohkah8Ah
Normal file
9
changes/typo-fix-ohkah8Ah
Normal file
@ -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.
|
||||||
|
|
@ -409,7 +409,7 @@ rend_config_services(or_options_t *options, int validate_only)
|
|||||||
if (strspn(client_name, REND_LEGAL_CLIENTNAME_CHARACTERS) != len) {
|
if (strspn(client_name, REND_LEGAL_CLIENTNAME_CHARACTERS) != len) {
|
||||||
log_warn(LD_CONFIG, "HiddenServiceAuthorizeClient contains an "
|
log_warn(LD_CONFIG, "HiddenServiceAuthorizeClient contains an "
|
||||||
"illegal client name: '%s'. Valid "
|
"illegal client name: '%s'. Valid "
|
||||||
"characters are [A-Za-z0-9+-_].",
|
"characters are [A-Za-z0-9+_-].",
|
||||||
client_name);
|
client_name);
|
||||||
SMARTLIST_FOREACH(clients, char *, cp, tor_free(cp));
|
SMARTLIST_FOREACH(clients, char *, cp, tor_free(cp));
|
||||||
smartlist_free(clients);
|
smartlist_free(clients);
|
||||||
|
Loading…
Reference in New Issue
Block a user