From 9233cb144ac4f5566f661ef2cf802e937077d8d3 Mon Sep 17 00:00:00 2001 From: miya-sun Date: Wed, 27 Feb 2019 20:21:35 +0900 Subject: [PATCH] allow uppercase alphabet in validation --- stns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stns.c b/stns.c index ca1b4ed..879467c 100644 --- a/stns.c +++ b/stns.c @@ -541,7 +541,7 @@ int stns_exec_cmd(char *cmd, char *arg, stns_response_t *r) r->size = 0; r->status_code = (long)200; - if (!match("^[a-z0-9_.=\?]+$", arg)) { + if (!match("^[a-zA-Z0-9_.=\?]+$", arg)) { return 0; }