aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/altsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/altsvc.c b/lib/altsvc.c
index 85a4e01b5..e4d3ea605 100644
--- a/lib/altsvc.c
+++ b/lib/altsvc.c
@@ -343,7 +343,7 @@ static CURLcode getalnum(const char **ptr, char *alpnbuf, size_t buflen)
while(*p && ISBLANK(*p))
p++;
protop = p;
- while(*p && ISALNUM(*p))
+ while(*p && !ISBLANK(*p) && (*p != ';') && (*p != '='))
p++;
len = p - protop;