]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
spaces are allowed...
authorAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jul 2021 17:55:58 +0000 (13:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jul 2021 17:55:58 +0000 (13:55 -0400)
src/main/tls_listen.c

index e45015017020f0d816e300306eb1266d2956e5ef..40c368c1550e8e38c7949a5601a537f97e9a0d02 100644 (file)
@@ -180,7 +180,7 @@ static int proxy_protocol_check(rad_listen_t *listener, REQUEST *request)
                 *      Other control characters, or non-ASCII data.
                 *      That's a problem.
                 */
-               if ((*p <= ' ') || (*p >= 0x80)) {
+               if ((*p < ' ') || (*p >= 0x80)) {
                invalid_data:
                        DEBUG("Closing TLS PROXY socket from client port %u - received invalid data", sock->other_port);
                        return -1;